Class UnshelveProjectExecutable
java.lang.Object
org.jvnet.hudson.plugins.shelveproject.UnshelveProjectExecutable
- All Implemented Interfaces:
Queue.Executable,Runnable,WithConsoleUrl
A
Queue.Executable that will take care of unshelving projects.
Selected projects will be copied back under $JENKINS_HOME/jobs and the model will be reloaded.
-
Constructor Summary
ConstructorsConstructorDescriptionUnshelveProjectExecutable(Queue.Task parentTask, String[] shelvedProjectArchiveNames) Creates a newUnshelveProjectExecutable -
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface hudson.model.Queue.Executable
getConsoleUrl, getParentExecutable
-
Constructor Details
-
UnshelveProjectExecutable
Creates a newUnshelveProjectExecutable- Parameters:
parentTask- The task from which the executable was created. Most likelyUnshelveProjectTaskshelvedProjectArchiveNames- The list of shelve archives to treat
-
-
Method Details
-
getParent
- Specified by:
getParentin interfaceQueue.Executable
-
run
public void run()- Specified by:
runin interfaceQueue.Executable- Specified by:
runin interfaceRunnable
-
getEstimatedDuration
public long getEstimatedDuration()- Specified by:
getEstimatedDurationin interfaceQueue.Executable
-
toString
- Specified by:
toStringin interfaceQueue.Executable- Overrides:
toStringin classObject
-