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, wait
Methods 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 likelyUnshelveProjectTask
shelvedProjectArchiveNames
- The list of shelve archives to treat
-
-
Method Details
-
getParent
- Specified by:
getParent
in interfaceQueue.Executable
-
run
public void run()- Specified by:
run
in interfaceQueue.Executable
- Specified by:
run
in interfaceRunnable
-
getEstimatedDuration
public long getEstimatedDuration()- Specified by:
getEstimatedDuration
in interfaceQueue.Executable
-
toString
- Specified by:
toString
in interfaceQueue.Executable
- Overrides:
toString
in classObject
-