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
-
Method Summary
Modifier and TypeMethodDescriptionorg.jenkinsci.plugins.workflow.cps.CpsFlowExecution
create
(org.jenkinsci.plugins.workflow.flow.FlowDefinition def, org.jenkinsci.plugins.workflow.flow.FlowExecutionOwner owner, List<? extends Action> actions) boolean
shouldSchedule
(List<Action> actions) Not allowing restart attempts to be collapsed into the same build.Methods inherited from class hudson.model.InvisibleAction
getDisplayName, getIconFileName, getUrlName
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods 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:
shouldSchedule
in 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:
create
in interfaceorg.jenkinsci.plugins.workflow.cps.CpsFlowFactoryAction2
- Throws:
IOException
-