Class RestartFlowFactoryAction
java.lang.Object
hudson.model.InvisibleAction
org.jenkinsci.plugins.pipeline.modeldefinition.actions.RestartFlowFactoryAction
- All Implemented Interfaces:
Action,ModelObject,Queue.QueueAction,org.jenkinsci.plugins.workflow.cps.CpsFlowFactoryAction2
public class RestartFlowFactoryAction
extends InvisibleAction
implements org.jenkinsci.plugins.workflow.cps.CpsFlowFactoryAction2, Queue.QueueAction
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.workflow.cps.CpsFlowExecutioncreate(org.jenkinsci.plugins.workflow.flow.FlowDefinition def, org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, List<? extends Action> actions) booleanshouldSchedule(List<Action> actions) Not allowing restart attempts to be collapsed into the same build.Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlNameMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface hudson.model.Action
getDisplayName, getIconFileName, getUrlName
-
Constructor Details
-
RestartFlowFactoryAction
-
-
Method Details
-
getOriginRunId
-
shouldSchedule
Not allowing restart attempts to be collapsed into the same build.- Specified by:
shouldSchedulein interfaceQueue.QueueAction
-
create
public org.jenkinsci.plugins.workflow.cps.CpsFlowExecution create(org.jenkinsci.plugins.workflow.flow.FlowDefinition def, org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, List<? extends Action> actions) throws IOException - Specified by:
createin interfaceorg.jenkinsci.plugins.workflow.cps.CpsFlowFactoryAction2- Throws:
IOException
-