Package space.arim.libertybans.api.punish
package space.arim.libertybans.api.punish
Defines API for drafting punishments as well as punishments themselves.
Active versus Historical Punishments An active punishment is neither expired nor undone.After being undone, a punishment is no longer active. After a temporary punishment expires, it is no longer active.
'Historial' punishments include both those active, those expired, and those undone. All punishments, regardless of whether they are active, are historical punishments.
Active versus Historical Punishments An active punishment is neither expired nor undone.After being undone, a punishment is no longer active. After a temporary punishment expires, it is no longer active.
'Historial' punishments include both those active, those expired, and those undone. All punishments, regardless of whether they are active, are historical punishments.
-
ClassDescriptionA punishment ready to be created on the basis of dynamically computed detailsBuilder of calculable punishments.A punishment ready to be created.Builder of draft punishments.A punishment ready to be created through some meansHow a punishment can be enforced or "unenforced."How, and whether, broadcast messages should be sent relating to enaction or undoing of the punishment.Builder of
EnforcementOptionsHow the punishment can be enforced.Parent interface for objects which useEnforcementOptionsin some fashion, and by association allow the easy creation ofEnforcementOptionsIdentifies the associated escalation track for a punishment.An order to completely delete a punishment without any trace leftover.A full punishment, identifiable by its ID.Base interface for punishmentsClient interface implemented in order to provide calculation of punishment details within the scope of a database transaction.The computed details of a punishmentInitial point for drafting punishments and calculated sanctionsAssistant interface for modifying a punishmentAgent of removing active punishments in accordance with constraints.An order to undo a punishment by some specific details.Base interface for all sanctions.