Class ExecutorStepExecution.PlaceholderTask.PlaceholderExecutable
java.lang.Object
org.jenkinsci.plugins.workflow.support.steps.ExecutorStepExecution.PlaceholderTask.PlaceholderExecutable
- All Implemented Interfaces:
Queue.Executable,AccessControlled,Runnable,WithConsoleUrl,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
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidcheckPermission(Permission permission) getACL()longgetUrl()booleanhasPermission(Permission permission) voidrun()toString()booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.security.AccessControlled
checkAnyPermission, hasAnyPermission, hasPermission, hasPermission2Methods inherited from interface hudson.model.Queue.Executable
getConsoleUrl
-
Constructor Details
-
PlaceholderExecutable
public PlaceholderExecutable()
-
-
Method Details
-
run
public void run()- Specified by:
runin interfaceQueue.Executable- Specified by:
runin interfaceRunnable
-
getParent
- Specified by:
getParentin interfaceQueue.Executable
-
getParentExecutable
- Specified by:
getParentExecutablein interfaceQueue.Executable
-
getNumber
-
getFullDisplayName
-
getDisplayName
-
getEstimatedDuration
@Exported public long getEstimatedDuration()- Specified by:
getEstimatedDurationin interfaceQueue.Executable
-
getTimestamp
-
willContinue
public boolean willContinue()- Specified by:
willContinuein interfaceorg.jenkinsci.plugins.durabletask.executors.ContinuableExecutable
-
getExecutor
@Restricted(org.kohsuke.accmod.restrictions.DoNotUse.class) @CheckForNull public Executor getExecutor() -
getUrl
-
getAbsoluteUrl
-
toString
- Specified by:
toStringin interfaceQueue.Executable- Overrides:
toStringin classObject
-
getACL
- Specified by:
getACLin interfaceAccessControlled
-
checkPermission
public void checkPermission(@NonNull Permission permission) throws org.springframework.security.access.AccessDeniedException - Specified by:
checkPermissionin interfaceAccessControlled- Throws:
org.springframework.security.access.AccessDeniedException
-
hasPermission
- Specified by:
hasPermissionin interfaceAccessControlled
-