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 TypeMethodDescriptionGets the draft sanction which will be put into placevoidsetDraftSanction(S draftSanction) Sets the draft sanction which will be put into placeMethods 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
Sets the draft sanction which will be put into place- Parameters:
draftSanction- the new draft sanction
-