use of hudson.model.queue.SubTaskContributor in project hudson-2.x by hudson.
the class AbstractProject method getSubTasks.
public List<SubTask> getSubTasks() {
List<SubTask> r = new ArrayList<SubTask>();
r.add(this);
for (SubTaskContributor euc : SubTaskContributor.all()) r.addAll(euc.forProject(this));
for (JobProperty<? super P> p : getAllProperties()) r.addAll(p.getSubTasks());
return r;
}
Aggregations