@ExportedBean public static final class DockerNodeStepExecution.PlaceholderTask extends Object implements org.jenkinsci.plugins.durabletask.executors.ContinuedTask, Serializable, hudson.security.AccessControlled
Modifier and Type | Method and Description |
---|---|
void |
checkAbortPermission() |
void |
checkPermission(hudson.security.Permission p) |
hudson.model.Queue.Executable |
createExecutable() |
hudson.security.ACL |
getACL()
Something we can use to check abort and read permissions.
|
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()
Deprecated.
|
boolean |
hasAbortPermission() |
boolean |
hasPermission(hudson.security.Permission p) |
boolean |
isBuildBlocked() |
boolean |
isConcurrentBuild() |
boolean |
isContinued() |
hudson.model.Run<?,?> |
run() |
hudson.model.Run<?,?> |
runForDisplay() |
public hudson.model.Queue.Executable createExecutable() throws IOException
createExecutable
in interface hudson.model.queue.SubTask
IOException
public hudson.model.Label getAssignedLabel()
getAssignedLabel
in interface hudson.model.queue.SubTask
public hudson.model.Node getLastBuiltOn()
getLastBuiltOn
in interface hudson.model.queue.SubTask
public boolean isBuildBlocked()
isBuildBlocked
in interface hudson.model.Queue.Task
@Deprecated public String getWhyBlocked()
getWhyBlocked
in interface hudson.model.Queue.Task
public hudson.model.queue.CauseOfBlockage getCauseOfBlockage()
getCauseOfBlockage
in interface hudson.model.Queue.Task
public boolean isConcurrentBuild()
isConcurrentBuild
in interface hudson.model.Queue.Task
public Collection<? extends hudson.model.queue.SubTask> getSubTasks()
getSubTasks
in interface hudson.model.Queue.Task
public hudson.model.Queue.Task getOwnerTask()
getOwnerTask
in interface hudson.model.queue.SubTask
public Object getSameNodeConstraint()
getSameNodeConstraint
in interface hudson.model.queue.SubTask
public hudson.security.ACL getACL()
Run
.
However if things are badly broken, for example if the build has been deleted,
then as a fallback we use the Jenkins root.
This allows an administrator to clean up dead queue items and executor cells.
TODO make FlowExecutionOwner
implement AccessControlled
so that an implementation could fall back to checking Job
permission.getACL
in interface hudson.security.AccessControlled
public void checkPermission(hudson.security.Permission p) throws org.acegisecurity.AccessDeniedException
checkPermission
in interface hudson.security.AccessControlled
org.acegisecurity.AccessDeniedException
public boolean hasPermission(hudson.security.Permission p)
hasPermission
in interface hudson.security.AccessControlled
public void checkAbortPermission()
checkAbortPermission
in interface hudson.model.Queue.Task
public boolean hasAbortPermission()
hasAbortPermission
in interface hudson.model.Queue.Task
@CheckForNull public hudson.model.Run<?,?> run()
@CheckForNull public hudson.model.Run<?,?> runForDisplay()
public String getUrl()
getUrl
in interface hudson.model.Queue.Task
public String getDisplayName()
getDisplayName
in interface hudson.model.ModelObject
getDisplayName
in interface hudson.model.ResourceActivity
public String getName()
getName
in interface hudson.model.Queue.Task
public String getFullDisplayName()
getFullDisplayName
in interface hudson.model.Queue.Task
public long getEstimatedDuration()
getEstimatedDuration
in interface hudson.model.queue.SubTask
public hudson.model.ResourceList getResourceList()
getResourceList
in interface hudson.model.ResourceActivity
public org.acegisecurity.Authentication getDefaultAuthentication()
getDefaultAuthentication
in interface hudson.model.Queue.Task
public org.acegisecurity.Authentication getDefaultAuthentication(hudson.model.Queue.Item item)
getDefaultAuthentication
in interface hudson.model.Queue.Task
public boolean isContinued()
isContinued
in interface org.jenkinsci.plugins.durabletask.executors.ContinuedTask
Copyright © 2016–2017. All rights reserved.