Class ExecutorStepExecution.PlaceholderTask.PlaceholderExecutable
java.lang.Object
org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution.PlaceholderTask.PlaceholderExecutable
- All Implemented Interfaces:
Queue.Executable
,AccessControlled
,Runnable
,org.jenkinsci.plugins.durabletask.executors.ContinuableExecutable
- Enclosing class:
- ExecutorStepExecution.PlaceholderTask
@ExportedBean
@Restricted(org.kohsuke.accmod.restrictions.NoExternalUse.class)
public final class ExecutorStepExecution.PlaceholderTask.PlaceholderExecutable
extends Object
implements org.jenkinsci.plugins.durabletask.executors.ContinuableExecutable, AccessControlled
Occupies
Executor
while workflow uses this build agent.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
checkPermission
(Permission permission) getACL()
long
getUrl()
boolean
hasPermission
(Permission permission) void
run()
toString()
boolean
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface hudson.security.AccessControlled
checkAnyPermission, hasAnyPermission, hasPermission, hasPermission2
-
Constructor Details
-
PlaceholderExecutable
public PlaceholderExecutable()
-
-
Method Details
-
run
public void run()- Specified by:
run
in interfaceQueue.Executable
- Specified by:
run
in interfaceRunnable
-
getParent
- Specified by:
getParent
in interfaceQueue.Executable
-
getParentExecutable
- Specified by:
getParentExecutable
in interfaceQueue.Executable
-
getNumber
-
getFullDisplayName
-
getDisplayName
-
getEstimatedDuration
@Exported public long getEstimatedDuration()- Specified by:
getEstimatedDuration
in interfaceQueue.Executable
-
getTimestamp
-
willContinue
public boolean willContinue()- Specified by:
willContinue
in interfaceorg.jenkinsci.plugins.durabletask.executors.ContinuableExecutable
-
getExecutor
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @CheckForNull public Executor getExecutor() -
getUrl
-
getAbsoluteUrl
-
toString
- Specified by:
toString
in interfaceQueue.Executable
- Overrides:
toString
in classObject
-
getACL
- Specified by:
getACL
in interfaceAccessControlled
-
checkPermission
public void checkPermission(@NonNull Permission permission) throws org.springframework.security.access.AccessDeniedException - Specified by:
checkPermission
in interfaceAccessControlled
- Throws:
org.springframework.security.access.AccessDeniedException
-
hasPermission
- Specified by:
hasPermission
in interfaceAccessControlled
-