Interface PunishmentBase
- All Superinterfaces:
SanctionBase
- All Known Subinterfaces:
DraftPunishment, Punishment
Base interface for punishments
-
Method Summary
Modifier and TypeMethodDescriptionGets the escalation track of the punishment if there is oneGets the operator of the sanction or punishmentGets the reason of the punishmentgetScope()Gets the scope of the punishmentgetType()Gets the type of the punishmentGets the victim of the sanction or punishment
-
Method Details
-
getType
-
getVictim
Victim getVictim()Description copied from interface:SanctionBaseGets the victim of the sanction or punishment- Specified by:
getVictimin interfaceSanctionBase- Returns:
- the victim
-
getOperator
Operator getOperator()Description copied from interface:SanctionBaseGets the operator of the sanction or punishment- Specified by:
getOperatorin interfaceSanctionBase- Returns:
- the operator
-
getReason
-
getScope
-
getEscalationTrack
Optional<EscalationTrack> getEscalationTrack()Gets the escalation track of the punishment if there is one- Returns:
- the escalation track if set
-