Class XPipelineStep

    • Method Detail

      • getDescription

        public String getDescription()
        Description copied from interface: IPipelineStep
        Gets a short localizable description of what this step does.
        Specified by:
        getDescription in interface IPipelineStep
        Returns:
        the text of a short description of what this step does.
      • getName

        public String getName()
        Description copied from interface: IPipelineStep
        Gets the localizable name of this step.
        Specified by:
        getName in interface IPipelineStep
        Returns:
        the localizable name of this step.
      • destroy

        public void destroy()
        Description copied from interface: IPipelineStep
        Executes any cleanup code for this step. Called once at the end of the pipeline lifecycle.
        Specified by:
        destroy in interface IPipelineStep
      • getHelpLocation

        public String getHelpLocation()
        Description copied from interface: IPipelineStep
        Gets the relative directory location for the help of this step. The main help file for the step must be at that location and its name must be the name of the class implementing the step in lowercase with a .html extension.
        Specified by:
        getHelpLocation in interface IPipelineStep
        Returns:
        the relative directory location for the help of this step.
      • getParameters

        public IParameters getParameters()
        Description copied from interface: IPipelineStep
        Gets the current parameters for this step.
        Specified by:
        getParameters in interface IPipelineStep
        Returns:
        the current parameters for this step or null if there are no parameters.
      • handleEvent

        public Event handleEvent​(Event event)
        Description copied from interface: IPipelineStep
        Processes each event sent though the pipeline.
        Specified by:
        handleEvent in interface IPipelineStep
        Parameters:
        event - the event to process.
        Returns:
        the event to pass down the pipeline.
      • isDone

        public boolean isDone()
        Description copied from interface: IPipelineStep
        Steps that can generate Events such as IFilters return false until no more events can be created. Steps which do not create Events always return true.
        Specified by:
        isDone in interface IPipelineStep
        Returns:
        false if can generate more events, true otherwise.
      • isLastOutputStep

        public boolean isLastOutputStep()
        Description copied from interface: IPipelineStep
        Is this step the last step with output in the pipeline?
        Specified by:
        isLastOutputStep in interface IPipelineStep
        Returns:
        true if last step with output, false otherwise.
      • setLastOutputStep

        public void setLastOutputStep​(boolean isLastStep)
        Description copied from interface: IPipelineStep
        Tell the step if it is the last one on the pipeline with output.
        Specified by:
        setLastOutputStep in interface IPipelineStep
        Parameters:
        isLastStep - true if last step with output, false otherwise.
      • setParameters

        public void setParameters​(IParameters params)
        Description copied from interface: IPipelineStep
        Sets new parameters for this step.
        Specified by:
        setParameters in interface IPipelineStep
        Parameters:
        params - the new parameters to use.
      • cancel

        public void cancel()
        Description copied from interface: IPipelineStep
        Cancel processing on this pipeline. Each IPipelineStep is responsible to implement a cancel method that will interrupt long running operations
        Specified by:
        cancel in interface IPipelineStep