Class UnshelveProjectExecutable
- java.lang.Object
-
- org.jvnet.hudson.plugins.shelveproject.UnshelveProjectExecutable
-
- All Implemented Interfaces:
Queue.Executable
,Runnable
public class UnshelveProjectExecutable extends Object implements Queue.Executable
AQueue.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
Constructors Constructor Description UnshelveProjectExecutable(Queue.Task parentTask, String[] shelvedProjectArchiveNames)
Creates a newUnshelveProjectExecutable
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description long
getEstimatedDuration()
Queue.Task
getParent()
void
run()
String
toString()
-
-
-
Constructor Detail
-
UnshelveProjectExecutable
public UnshelveProjectExecutable(Queue.Task parentTask, String[] shelvedProjectArchiveNames)
Creates a newUnshelveProjectExecutable
- Parameters:
parentTask
- The task from which the executable was created. Most likelyUnshelveProjectTask
shelvedProjectArchiveNames
- The list of shelve archives to treat
-
-
Method Detail
-
getParent
public Queue.Task 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
public String toString()
- Specified by:
toString
in interfaceQueue.Executable
- Overrides:
toString
in classObject
-
-