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 Details

    • RestartFlowFactoryAction

      public RestartFlowFactoryAction(@NonNull String originRunId)
  • Method Details

    • getOriginRunId

      public String getOriginRunId()
    • shouldSchedule

      public boolean shouldSchedule(List<Action> actions)
      Not allowing restart attempts to be collapsed into the same build.
      Specified by:
      shouldSchedule in interface Queue.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 interface org.jenkinsci.plugins.workflow.cps.CpsFlowFactoryAction2
      Throws:
      IOException