hudson.model.Queue.Task Java Examples

The following examples show how to use hudson.model.Queue.Task. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: LockableResource.java    From lockable-resources-plugin with MIT License 5 votes vote down vote up
public Task getTask() {
  Item item = Queue.getInstance().getItem(queueItemId);
  if (item != null) {
    return item.task;
  } else {
    return null;
  }
}
 
Example #2
Source File: GitHubParametersAction.java    From github-integration-plugin with MIT License 4 votes vote down vote up
@Override
public void foldIntoExisting(Item item, Task owner, List<Action> actions) {
    item.addOrReplaceAction(this);
}
 
Example #3
Source File: DynamicProject.java    From DotCi with MIT License 4 votes vote down vote up
public Task getItem(final Combination combination) {
    return null;
}