Class DeleteProjectTask
java.lang.Object
org.jvnet.hudson.plugins.shelveproject.DeleteProjectTask
- All Implemented Interfaces:
ModelObject,Queue.FlyweightTask,SubTask,Queue.Task,Queue.TransientTask,ResourceActivity
Represents a lightweight task that will take care of Deleting shelved archives.
Creates a
DeleteProjectExecutable in charge of the actual deletion-
Constructor Summary
ConstructorsConstructorDescriptionDeleteProjectTask(String[] shelvedProjectArchiveNames) Creates aDeleteProjectTask -
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
-
DeleteProjectTask
Creates aDeleteProjectTask- Parameters:
shelvedProjectArchiveNames- The list of shelve archives to delete
-
-
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
-