Class EngineWorkflowExecutor.BaseProfile
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.workflow.EngineWorkflowExecutor.BaseProfile
-
- All Implemented Interfaces:
WorkflowStrategyProfile
- Direct Known Subclasses:
SequentialStrategyProfile
- Enclosing class:
- EngineWorkflowExecutor
public abstract static class EngineWorkflowExecutor.BaseProfile extends java.lang.Object implements WorkflowStrategyProfile
Base profile which provides initial states
-
-
Constructor Summary
Constructors Constructor Description BaseProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StateObj
getInitialStateForStep(int stepNum, WorkflowExecutionItem item, boolean isFirstStep)
Get initial state values added to context for this stepjava.util.Set<Condition>
getSkipConditionsForStep(WorkflowExecutionItem item, int stepNum, boolean isFirstStep)
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface com.dtolabs.rundeck.core.execution.workflow.WorkflowStrategyProfile
getStartConditionsForStep
-
-
-
-
Method Detail
-
getInitialStateForStep
public StateObj getInitialStateForStep(int stepNum, WorkflowExecutionItem item, boolean isFirstStep)
Description copied from interface:WorkflowStrategyProfile
Get initial state values added to context for this step- Specified by:
getInitialStateForStep
in interfaceWorkflowStrategyProfile
- Parameters:
stepNum
- step numberitem
- workflowisFirstStep
- is first step in the workflow- Returns:
- initial state
-
getSkipConditionsForStep
public java.util.Set<Condition> getSkipConditionsForStep(WorkflowExecutionItem item, int stepNum, boolean isFirstStep)
- Specified by:
getSkipConditionsForStep
in interfaceWorkflowStrategyProfile
- Parameters:
item
- stepstepNum
- step numberisFirstStep
- true if it is the first step in the workflow- Returns:
- skip conditions for the step
-
-