Interface PunishmentBase

All Superinterfaces:
SanctionBase
All Known Subinterfaces:
DraftPunishment, Punishment

public interface PunishmentBase extends SanctionBase
Base interface for punishments
  • Method Details

    • getType

      PunishmentType getType()
      Gets the type of the punishment
      Returns:
      the type
    • getVictim

      Victim getVictim()
      Description copied from interface: SanctionBase
      Gets the victim of the sanction or punishment
      Specified by:
      getVictim in interface SanctionBase
      Returns:
      the victim
    • getOperator

      Operator getOperator()
      Description copied from interface: SanctionBase
      Gets the operator of the sanction or punishment
      Specified by:
      getOperator in interface SanctionBase
      Returns:
      the operator
    • getReason

      String getReason()
      Gets the reason of the punishment
      Returns:
      the reason
    • getScope

      ServerScope getScope()
      Gets the scope of the punishment
      Returns:
      the scope
    • getEscalationTrack

      Optional<EscalationTrack> getEscalationTrack()
      Gets the escalation track of the punishment if there is one
      Returns:
      the escalation track if set