Class WorkflowExecutionListenerStepMetrics
- java.lang.Object
-
- com.dtolabs.rundeck.core.execution.workflow.WorkflowExecutionListenerStepMetrics
-
- All Implemented Interfaces:
WorkflowExecutionListener
public class WorkflowExecutionListenerStepMetrics extends java.lang.Object implements WorkflowExecutionListener
-
-
Constructor Summary
Constructors Constructor Description WorkflowExecutionListenerStepMetrics(WorkflowMetricsWriter workflowMetricsWriter)
-
Method Summary
-
-
-
Constructor Detail
-
WorkflowExecutionListenerStepMetrics
public WorkflowExecutionListenerStepMetrics(WorkflowMetricsWriter workflowMetricsWriter)
-
-
Method Detail
-
beginWorkflowExecution
public void beginWorkflowExecution(StepExecutionContext executionContext, WorkflowExecutionItem item)
- Specified by:
beginWorkflowExecutionin interfaceWorkflowExecutionListener
-
finishWorkflowExecution
public void finishWorkflowExecution(WorkflowExecutionResult result, StepExecutionContext executionContext, WorkflowExecutionItem item)
- Specified by:
finishWorkflowExecutionin interfaceWorkflowExecutionListener
-
beginWorkflowItem
public void beginWorkflowItem(int step, StepExecutionItem item)- Specified by:
beginWorkflowItemin interfaceWorkflowExecutionListener
-
beginWorkflowItemErrorHandler
public void beginWorkflowItemErrorHandler(int step, StepExecutionItem item)- Specified by:
beginWorkflowItemErrorHandlerin interfaceWorkflowExecutionListener
-
finishWorkflowItem
public void finishWorkflowItem(int step, StepExecutionItem item, StepExecutionResult result)- Specified by:
finishWorkflowItemin interfaceWorkflowExecutionListener
-
finishWorkflowItemErrorHandler
public void finishWorkflowItemErrorHandler(int step, StepExecutionItem item, StepExecutionResult success)- Specified by:
finishWorkflowItemErrorHandlerin interfaceWorkflowExecutionListener
-
beginStepExecution
public void beginStepExecution(StepExecutor executor, StepExecutionContext context, StepExecutionItem item)
Description copied from interface:WorkflowExecutionListenerCalled when execution begins for a step- Specified by:
beginStepExecutionin interfaceWorkflowExecutionListener- Parameters:
executor- executorcontext- contextitem- step
-
finishStepExecution
public void finishStepExecution(StepExecutor executor, StatusResult result, StepExecutionContext context, StepExecutionItem item)
Description copied from interface:WorkflowExecutionListenerCalled when execution finishes for a step- Specified by:
finishStepExecutionin interfaceWorkflowExecutionListener- Parameters:
executor- executorresult- resultcontext- contextitem- step
-
beginExecuteNodeStep
public void beginExecuteNodeStep(ExecutionContext context, NodeStepExecutionItem item, INodeEntry node)
Description copied from interface:WorkflowExecutionListenerBegin execution of a node step- Specified by:
beginExecuteNodeStepin interfaceWorkflowExecutionListener- Parameters:
context- contextitem- stepnode- node
-
finishExecuteNodeStep
public void finishExecuteNodeStep(NodeStepResult result, ExecutionContext context, StepExecutionItem item, INodeEntry node)
Description copied from interface:WorkflowExecutionListenerFinish execution of a node step- Specified by:
finishExecuteNodeStepin interfaceWorkflowExecutionListener- Parameters:
result- resultcontext- contextitem- stepnode- node
-
-