Class 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 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:
        beforePipelineExecution in interface org.guvnor.ala.pipeline.events.PipelineEventListener
      • afterPipelineExecution

        public void afterPipelineExecution​(org.guvnor.ala.pipeline.events.AfterPipelineExecutionEvent apee)
        Specified by:
        afterPipelineExecution in interface org.guvnor.ala.pipeline.events.PipelineEventListener
      • beforeStageExecution

        public void beforeStageExecution​(org.guvnor.ala.pipeline.events.BeforeStageExecutionEvent bsee)
        Specified by:
        beforeStageExecution in interface org.guvnor.ala.pipeline.events.PipelineEventListener
      • onStageError

        public void onStageError​(org.guvnor.ala.pipeline.events.OnErrorStageExecutionEvent oesee)
        Specified by:
        onStageError in interface org.guvnor.ala.pipeline.events.PipelineEventListener
      • afterStageExecution

        public void afterStageExecution​(org.guvnor.ala.pipeline.events.AfterStageExecutionEvent asee)
        Specified by:
        afterStageExecution in interface org.guvnor.ala.pipeline.events.PipelineEventListener
      • onPipelineError

        public void onPipelineError​(org.guvnor.ala.pipeline.events.OnErrorPipelineExecutionEvent oepee)
        Specified by:
        onPipelineError in interface org.guvnor.ala.pipeline.events.PipelineEventListener