Class PhaseMovedEvent

java.lang.Object
com.xebialabs.xlrelease.domain.events.PhaseMovedEvent
All Implemented Interfaces:
PhaseEvent, XLReleaseEvent, Serializable, scala.Equals, scala.Product

public class PhaseMovedEvent extends Object implements PhaseEvent, scala.Product, Serializable
Event published when a phase is moved from one position to another within a release or a template. param: movedPhase the instance of the phase which was moved. param: originIndex the original index of the phase in the release or template, 0-based. param: targetIndex the new index of the phase in the release or template, 0-based.
See Also:
  • Constructor Details

    • PhaseMovedEvent

      public PhaseMovedEvent(Phase movedPhase, int originIndex, int targetIndex)
  • Method Details

    • apply

      public static PhaseMovedEvent apply(Phase movedPhase, int originIndex, int targetIndex)
    • unapply

      public static scala.Option<scala.Tuple3<Phase,Object,Object>> unapply(PhaseMovedEvent x$0)
    • username

      public String username()
      Specified by:
      username in interface XLReleaseEvent
    • username_$eq

      public void username_$eq(String x$1)
      Specified by:
      username_$eq in interface XLReleaseEvent
    • timestamp

      public Date timestamp()
      Specified by:
      timestamp in interface XLReleaseEvent
    • movedPhase

      public Phase movedPhase()
    • originIndex

      public int originIndex()
    • targetIndex

      public int targetIndex()
    • copy

      public PhaseMovedEvent copy(Phase movedPhase, int originIndex, int targetIndex)
    • copy$default$1

      public Phase copy$default$1()
    • copy$default$2

      public int copy$default$2()
    • copy$default$3

      public int copy$default$3()
    • productPrefix

      public String productPrefix()
      Specified by:
      productPrefix in interface scala.Product
    • productArity

      public int productArity()
      Specified by:
      productArity in interface scala.Product
    • productElement

      public Object productElement(int x$1)
      Specified by:
      productElement in interface scala.Product
    • productIterator

      public scala.collection.Iterator<Object> productIterator()
      Specified by:
      productIterator in interface scala.Product
    • canEqual

      public boolean canEqual(Object x$1)
      Specified by:
      canEqual in interface scala.Equals
    • productElementName

      public String productElementName(int x$1)
      Specified by:
      productElementName in interface scala.Product
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • equals

      public boolean equals(Object x$1)
      Specified by:
      equals in interface scala.Equals
      Overrides:
      equals in class Object