Class StepMovedEvent

  • All Implemented Interfaces:
    DirtiesSaveEvent

    public class StepMovedEvent
    extends java.lang.Object
    implements DirtiesSaveEvent
    An event that occurs when a new step is moved from one position to another in the pipeline.
    • Constructor Detail

      • StepMovedEvent

        public StepMovedEvent​(Step step,
                              int distance)
        Parameters:
        step - The step being moved.
        distance - The number of indices (positive or negative) to move the step by.
    • Method Detail

      • getStep

        public Step getStep()
      • getDistance

        public int getDistance()
      • toString

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