public class DistForkTask extends Object implements hudson.model.Queue.Task
Queue.Task that represents a distfork work.
TODO: once we authenticate the CLI client, allow that user to abort.
| Constructor and Description |
|---|
DistForkTask(hudson.model.Label label,
String displayName,
long estimatedDuration,
Runnable runnable) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAbortPermission() |
hudson.model.Queue.Executable |
createExecutable() |
hudson.model.Label |
getAssignedLabel() |
hudson.model.queue.CauseOfBlockage |
getCauseOfBlockage() |
org.acegisecurity.Authentication |
getDefaultAuthentication() |
org.acegisecurity.Authentication |
getDefaultAuthentication(hudson.model.Queue.Item item) |
String |
getDisplayName() |
long |
getEstimatedDuration() |
String |
getFullDisplayName() |
hudson.model.Node |
getLastBuiltOn() |
String |
getName() |
hudson.model.Queue.Task |
getOwnerTask() |
hudson.model.ResourceList |
getResourceList() |
Object |
getSameNodeConstraint() |
Collection<? extends hudson.model.queue.SubTask> |
getSubTasks() |
String |
getUrl() |
String |
getWhyBlocked() |
boolean |
hasAbortPermission() |
boolean |
isBuildBlocked() |
boolean |
isConcurrentBuild() |
public hudson.model.Label getAssignedLabel()
getAssignedLabel in interface hudson.model.queue.SubTaskpublic hudson.model.Node getLastBuiltOn()
getLastBuiltOn in interface hudson.model.queue.SubTaskpublic boolean isBuildBlocked()
isBuildBlocked in interface hudson.model.Queue.Taskpublic String getWhyBlocked()
getWhyBlocked in interface hudson.model.Queue.Taskpublic String getName()
getName in interface hudson.model.Queue.Taskpublic String getFullDisplayName()
getFullDisplayName in interface hudson.model.Queue.Taskpublic long getEstimatedDuration()
getEstimatedDuration in interface hudson.model.queue.SubTaskpublic hudson.model.Queue.Executable createExecutable()
throws IOException
createExecutable in interface hudson.model.queue.SubTaskIOExceptionpublic void checkAbortPermission()
checkAbortPermission in interface hudson.model.Queue.Taskpublic boolean hasAbortPermission()
hasAbortPermission in interface hudson.model.Queue.Taskpublic String getUrl()
getUrl in interface hudson.model.Queue.Taskpublic String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectgetDisplayName in interface hudson.model.ResourceActivitypublic hudson.model.ResourceList getResourceList()
getResourceList in interface hudson.model.ResourceActivitypublic hudson.model.queue.CauseOfBlockage getCauseOfBlockage()
getCauseOfBlockage in interface hudson.model.Queue.Taskpublic boolean isConcurrentBuild()
isConcurrentBuild in interface hudson.model.Queue.Taskpublic Collection<? extends hudson.model.queue.SubTask> getSubTasks()
getSubTasks in interface hudson.model.Queue.Taskpublic hudson.model.Queue.Task getOwnerTask()
getOwnerTask in interface hudson.model.queue.SubTaskpublic Object getSameNodeConstraint()
getSameNodeConstraint in interface hudson.model.queue.SubTask@Nonnull public org.acegisecurity.Authentication getDefaultAuthentication()
getDefaultAuthentication in interface hudson.model.Queue.Taskpublic org.acegisecurity.Authentication getDefaultAuthentication(hudson.model.Queue.Item item)
getDefaultAuthentication in interface hudson.model.Queue.TaskCopyright © 2016–2018. All rights reserved.