/** Returns the {@link MavenModule}s that are in the queue. */ public List<Queue.Item> getQueueItems() { List<Queue.Item> r = new ArrayList<hudson.model.Queue.Item>(); for (Queue.Item item : Hudson.getInstance().getQueue().getItems()) { Task t = item.task; if ((t instanceof MavenModule && ((MavenModule) t).getParent() == this) || t == this) r.add(item); } return r; }
public Maven.DescriptorImpl getMavenDescriptor() { return Hudson.getInstance().getDescriptorByType(Maven.DescriptorImpl.class); }
public Hudson getParent() { return Hudson.getInstance(); }
public MavenModuleSet(String name) { super(Hudson.getInstance(), name); }