public class ReservationTask
extends hudson.model.queue.AbstractQueueTask
implements hudson.security.AccessControlled
ShareableComputers according to labels. Similarly, when computer is occupied by this task it means the host is
effectively reserved for executor Jenkins that has created this.| Modifier and Type | Class and Description |
|---|---|
static class |
ReservationTask.ReservationExecutable |
| Constructor and Description |
|---|
ReservationTask(ExecutorJenkins owner,
hudson.model.Label label,
String taskName,
long qid) |
ReservationTask(ExecutorJenkins owner,
String host,
boolean backfill) |
| Modifier and Type | Method and Description |
|---|---|
void |
checkAbortPermission() |
void |
checkPermission(hudson.security.Permission permission) |
hudson.model.Queue.Executable |
createExecutable() |
boolean |
equals(Object o) |
hudson.security.ACL |
getACL() |
hudson.model.Label |
getAssignedLabel() |
String |
getDisplayName() |
long |
getEstimatedDuration() |
String |
getFullDisplayName() |
hudson.model.Node |
getLastBuiltOn() |
String |
getName() |
ExecutorJenkins |
getOwner() |
hudson.model.ResourceList |
getResourceList() |
String |
getTaskName() |
String |
getUrl() |
String |
getWhyBlocked()
Deprecated.
|
boolean |
hasAbortPermission() |
int |
hashCode() |
boolean |
hasPermission(hudson.security.Permission permission) |
boolean |
isBuildBlocked() |
hudson.model.Queue.Item |
schedule() |
String |
toString() |
public ReservationTask(@Nonnull ExecutorJenkins owner, @Nonnull hudson.model.Label label, @Nonnull String taskName, long qid)
public ReservationTask(@Nonnull ExecutorJenkins owner, @Nonnull String host, boolean backfill)
public boolean isBuildBlocked()
isBuildBlocked in interface hudson.model.Queue.Task@Deprecated public 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 String getDisplayName()
getDisplayName in interface hudson.model.ModelObjectgetDisplayName in interface hudson.model.ResourceActivitypublic hudson.model.Label getAssignedLabel()
getAssignedLabel in interface hudson.model.queue.SubTaskpublic ExecutorJenkins getOwner()
public void checkAbortPermission()
checkAbortPermission in interface hudson.model.Queue.Taskpublic boolean hasAbortPermission()
hasAbortPermission in interface hudson.model.Queue.Task@Nonnull public hudson.security.ACL getACL()
getACL in interface hudson.security.AccessControlledpublic final void checkPermission(@Nonnull hudson.security.Permission permission)
checkPermission in interface hudson.security.AccessControlledpublic final boolean hasPermission(@Nonnull hudson.security.Permission permission)
hasPermission in interface hudson.security.AccessControlledpublic hudson.model.Queue.Item schedule()
public hudson.model.ResourceList getResourceList()
getResourceList in interface hudson.model.ResourceActivitypublic hudson.model.Node getLastBuiltOn()
getLastBuiltOn in interface hudson.model.queue.SubTaskpublic long getEstimatedDuration()
getEstimatedDuration in interface hudson.model.queue.SubTask@CheckForNull public hudson.model.Queue.Executable createExecutable()
createExecutable in interface hudson.model.queue.SubTaskCopyright © 2016–2020. All rights reserved.