Class StepAddedEvent

    • Constructor Detail

      • StepAddedEvent

        public StepAddedEvent​(Step step,
                              @Nonnegative
                              int index)
        Parameters:
        step - The step being added
        index - The index that the step should be added at.
      • StepAddedEvent

        public StepAddedEvent​(Step step)
        Parameters:
        step - The step being added to the end of the pipeline.
    • Method Detail

      • getStep

        public Step getStep()
        Returns:
        The step being added.
      • getIndex

        public java.util.OptionalInt getIndex()
        Returns:
        The index that the step should be added at, unless the step should be added at the end.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object