Interface CalculablePunishment
- All Superinterfaces:
DraftSanction, EnforcementOptionsFactory, SanctionBase
A punishment ready to be created on the basis of dynamically computed details
-
Method Summary
Modifier and TypeMethodDescriptionGets the calculator responsible for computing the extra details of the punishmentGets the escalation track according to which punishment details are computedCreates a newCalculablePunishmentBuilder, copying all properties of this calculable.Methods inherited from interface DraftSanction
enactPunishment, enactPunishment, equalsMethods inherited from interface EnforcementOptionsFactory
enforcementOptionsBuilderMethods inherited from interface SanctionBase
getOperator, getVictim
-
Method Details
-
getCalculator
PunishmentDetailsCalculator 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
CalculablePunishmentBuilder toBuilder()Creates a newCalculablePunishmentBuilder, copying all properties of this calculable.- Returns:
- A new builder
-