Interface CalculablePunishment

All Superinterfaces:
DraftSanction, EnforcementOptionsFactory, SanctionBase

public interface CalculablePunishment extends DraftSanction
A punishment ready to be created on the basis of dynamically computed details
  • Method Details

    • getCalculator

      Gets the calculator responsible for computing the extra details of the punishment
      Returns:
      the details calculator
    • getEscalationTrack

      EscalationTrack getEscalationTrack()
      Gets the escalation track according to which punishment details are computed
      Returns:
      the escalation track
    • toBuilder

      Creates a new CalculablePunishmentBuilder, copying all properties of this calculable.
      Returns:
      A new builder