Interface CalculablePunishmentBuilder
- All Superinterfaces:
DraftSanctionBuilder<CalculablePunishmentBuilder, CalculablePunishment>
public interface CalculablePunishmentBuilder
extends DraftSanctionBuilder<CalculablePunishmentBuilder, CalculablePunishment>
Builder of calculable punishments. It is required to set the victim, calculator, and escalation track.
-
Method Summary
Modifier and TypeMethodDescriptioncalculator(PunishmentDetailsCalculator calculator) Sets the calculator of this builder to the specified oneescalationTrack(EscalationTrack escalationTrack) Sets the escalation track of this builder to the specified oneMethods inherited from interface DraftSanctionBuilder
build, operator, victim
-
Method Details
-
calculator
Sets the calculator of this builder to the specified one- Parameters:
calculator- the calculator to use- Returns:
- this builder
-
escalationTrack
Sets the escalation track of this builder to the specified one- Parameters:
escalationTrack- the escalation track- Returns:
- this builder
-