Class PnStatusUpdatedEvent

java.lang.Object
gg.xp.reevent.events.BaseEvent
gg.xp.postnamazu.PnStatusUpdatedEvent
All Implemented Interfaces:
Event, HasPrimaryValue, Serializable

public class PnStatusUpdatedEvent extends BaseEvent implements HasPrimaryValue
See Also:
  • Constructor Details

    • PnStatusUpdatedEvent

      public PnStatusUpdatedEvent(PnStatus oldStatus, PnStatus newStatus)
  • Method Details

    • getOldStatus

      public PnStatus getOldStatus()
    • getNewStatus

      public PnStatus getNewStatus()
    • getPrimaryValue

      public String getPrimaryValue()
      Specified by:
      getPrimaryValue in interface HasPrimaryValue
      Returns:
      A text description of this object. Should be user-friendly and not over-the-top technical (fine-grained details belong in other fields, or in the Object.toString() method).
    • shouldSave

      public boolean shouldSave()
      Specified by:
      shouldSave in interface Event