Interface BasePunishEvent<S extends DraftSanction>

Type Parameters:
S - the draft sanction type
All Superinterfaces:
space.arim.omnibus.events.AsyncEvent, space.arim.omnibus.events.Cancellable, space.arim.omnibus.events.Event
All Known Subinterfaces:
CalculatedPunishEvent, PunishEvent

public interface BasePunishEvent<S extends DraftSanction> extends space.arim.omnibus.events.AsyncEvent, space.arim.omnibus.events.Cancellable
Parent interface for when a staff member is enacting a punishment. See PunishEvent and CalculatedPunishEvent
  • Method Summary

    Modifier and Type
    Method
    Description
    Gets the draft sanction which will be put into place
    void
    setDraftSanction(S draftSanction)
    Sets the draft sanction which will be put into place

    Methods inherited from interface space.arim.omnibus.events.Cancellable

    cancel, isCancelled
  • Method Details

    • getDraftSanction

      S getDraftSanction()
      Gets the draft sanction which will be put into place
      Returns:
      the draft sanction
    • setDraftSanction

      void setDraftSanction(S draftSanction)
      Sets the draft sanction which will be put into place
      Parameters:
      draftSanction - the new draft sanction