Interface EnforcementOptions
public interface EnforcementOptions
How a punishment can be enforced or "unenforced."
These options apply either when a punishment is enacted (where it is enforced) or when a punishment is undone (where it is "unenforced").
Instances of this interface can be obtained wherever it is required as a parameter. For example, for use in
These options apply either when a punishment is enacted (where it is enforced) or when a punishment is undone (where it is "unenforced").
Instances of this interface can be obtained wherever it is required as a parameter. For example, for use in
Punishment, use EnforcementOptionsFactory.enforcementOptionsBuilder()-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumHow, and whether, broadcast messages should be sent relating to enaction or undoing of the punishment.static interfaceBuilder ofEnforcementOptionsstatic enumHow the punishment can be enforced. -
Method Summary
Modifier and TypeMethodDescriptionThe broadcast optionThe enforcement option
-
Method Details
-
enforcement
-
broadcasting
-