Class UnshelveProjectTask
java.lang.Object
org.jvnet.hudson.plugins.shelveproject.UnshelveProjectTask
- All Implemented Interfaces:
ModelObject,Queue.FlyweightTask,SubTask,Queue.Task,Queue.TransientTask,ResourceActivity
Represents a lightweight task that will take care of Unshelving the shelved archives.
Creates a
UnshelveProjectExecutable in charge of the actual unshelve operations.-
Constructor Summary
ConstructorsConstructorDescriptionUnshelveProjectTask(String[] shelvedProjectArchiveNames) Creates aUnshelveProjectTask -
Method Summary
Modifier and TypeMethodDescriptionvoidorg.springframework.security.core.Authenticationorg.springframework.security.core.AuthenticationgetName()Collection<? extends SubTask>getUrl()booleanMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Queue.Task
getAffinityKey, getDefaultAuthentication, getDefaultAuthentication, getWhyBlocked, isBuildBlocked, isConcurrentBuildMethods inherited from interface hudson.model.queue.SubTask
getAssignedLabel, getEstimatedDuration, getLastBuiltOn, getOwnerExecutable, getSameNodeConstraint
-
Constructor Details
-
UnshelveProjectTask
Creates aUnshelveProjectTask- Parameters:
shelvedProjectArchiveNames- The list of shelve archives to treat
-
-
Method Details
-
getCauseOfBlockage
- Specified by:
getCauseOfBlockagein interfaceQueue.Task
-
getName
- Specified by:
getNamein interfaceQueue.Task
-
getFullDisplayName
- Specified by:
getFullDisplayNamein interfaceQueue.Task
-
createExecutable
- Specified by:
createExecutablein interfaceSubTask
-
getOwnerTask
- Specified by:
getOwnerTaskin interfaceSubTask
-
checkAbortPermission
public void checkAbortPermission()- Specified by:
checkAbortPermissionin interfaceQueue.Task
-
hasAbortPermission
public boolean hasAbortPermission()- Specified by:
hasAbortPermissionin interfaceQueue.Task
-
getUrl
- Specified by:
getUrlin interfaceQueue.Task
-
getSubTasks
- Specified by:
getSubTasksin interfaceQueue.Task
-
getResourceList
- Specified by:
getResourceListin interfaceResourceActivity
-
getDisplayName
- Specified by:
getDisplayNamein interfaceModelObject- Specified by:
getDisplayNamein interfaceResourceActivity
-
getDefaultAuthentication2
@NonNull public org.springframework.security.core.Authentication getDefaultAuthentication2()- Specified by:
getDefaultAuthentication2in interfaceQueue.Task
-
getDefaultAuthentication2
@NonNull public org.springframework.security.core.Authentication getDefaultAuthentication2(Queue.Item item) - Specified by:
getDefaultAuthentication2in interfaceQueue.Task
-