Class PipelineExecutionListener
- java.lang.Object
-
- org.guvnor.ala.ui.backend.service.PipelineExecutionListener
-
- All Implemented Interfaces:
org.guvnor.ala.pipeline.events.PipelineEventListener
public class PipelineExecutionListener extends Object implements org.guvnor.ala.pipeline.events.PipelineEventListener
Observes the events produced by the pipelines launched by the PipelineExecutorTaskManager and raises the required events to the UI or other interested parties.
-
-
Constructor Summary
Constructors Constructor Description PipelineExecutionListener()PipelineExecutionListener(javax.enterprise.event.Event<org.guvnor.ala.ui.events.PipelineStatusChangeEvent> pipelineStatusChangeEvent, javax.enterprise.event.Event<org.guvnor.ala.ui.events.StageStatusChangeEvent> stageStatusChangeEvent)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidafterPipelineExecution(org.guvnor.ala.pipeline.events.AfterPipelineExecutionEvent apee)voidafterStageExecution(org.guvnor.ala.pipeline.events.AfterStageExecutionEvent asee)voidbeforePipelineExecution(org.guvnor.ala.pipeline.events.BeforePipelineExecutionEvent bpee)voidbeforeStageExecution(org.guvnor.ala.pipeline.events.BeforeStageExecutionEvent bsee)voidonPipelineError(org.guvnor.ala.pipeline.events.OnErrorPipelineExecutionEvent oepee)voidonStageError(org.guvnor.ala.pipeline.events.OnErrorStageExecutionEvent oesee)
-
-
-
Constructor Detail
-
PipelineExecutionListener
public PipelineExecutionListener()
-
PipelineExecutionListener
@Inject public PipelineExecutionListener(javax.enterprise.event.Event<org.guvnor.ala.ui.events.PipelineStatusChangeEvent> pipelineStatusChangeEvent, javax.enterprise.event.Event<org.guvnor.ala.ui.events.StageStatusChangeEvent> stageStatusChangeEvent)
-
-
Method Detail
-
beforePipelineExecution
public void beforePipelineExecution(org.guvnor.ala.pipeline.events.BeforePipelineExecutionEvent bpee)
- Specified by:
beforePipelineExecutionin interfaceorg.guvnor.ala.pipeline.events.PipelineEventListener
-
afterPipelineExecution
public void afterPipelineExecution(org.guvnor.ala.pipeline.events.AfterPipelineExecutionEvent apee)
- Specified by:
afterPipelineExecutionin interfaceorg.guvnor.ala.pipeline.events.PipelineEventListener
-
beforeStageExecution
public void beforeStageExecution(org.guvnor.ala.pipeline.events.BeforeStageExecutionEvent bsee)
- Specified by:
beforeStageExecutionin interfaceorg.guvnor.ala.pipeline.events.PipelineEventListener
-
onStageError
public void onStageError(org.guvnor.ala.pipeline.events.OnErrorStageExecutionEvent oesee)
- Specified by:
onStageErrorin interfaceorg.guvnor.ala.pipeline.events.PipelineEventListener
-
afterStageExecution
public void afterStageExecution(org.guvnor.ala.pipeline.events.AfterStageExecutionEvent asee)
- Specified by:
afterStageExecutionin interfaceorg.guvnor.ala.pipeline.events.PipelineEventListener
-
onPipelineError
public void onPipelineError(org.guvnor.ala.pipeline.events.OnErrorPipelineExecutionEvent oepee)
- Specified by:
onPipelineErrorin interfaceorg.guvnor.ala.pipeline.events.PipelineEventListener
-
-