Uses of Interface
space.arim.libertybans.api.punish.EnforcementOptions
Packages that use EnforcementOptions
Package
Description
Defines API for drafting punishments as well as punishments themselves.
-
Uses of EnforcementOptions in space.arim.libertybans.api.punish
Methods in space.arim.libertybans.api.punish that return EnforcementOptionsModifier and TypeMethodDescriptionEnforcementOptions.Builder.build()Builds into enforcement options.Methods in space.arim.libertybans.api.punish with parameters of type EnforcementOptionsModifier and TypeMethodDescriptionspace.arim.omnibus.util.concurrent.ReactionStage<Optional<Punishment>> DraftPunishment.enactPunishment(EnforcementOptions enforcementOptions) space.arim.omnibus.util.concurrent.ReactionStage<Optional<Punishment>> DraftSanction.enactPunishment(EnforcementOptions enforcementOptions) Enacts this sanction, adding it to the database as a punishment, then enforces it according to the given options.space.arim.omnibus.util.concurrent.ReactionStage<?> Punishment.enforcePunishment(EnforcementOptions enforcementOptions) Enforces this punishment according to the given options.space.arim.omnibus.util.concurrent.ReactionStage<Optional<Punishment>> RevocationOrder.undoAndGetPunishment(EnforcementOptions enforcementOptions) Revokes the punishment matching this revocation order, "unenforces" it according to the given options, and gets the punishment revoked.space.arim.omnibus.util.concurrent.ReactionStage<Boolean> Punishment.undoPunishment(EnforcementOptions enforcementOptions) Undoes and "unenforces" this punishment assuming it active and in the database.space.arim.omnibus.util.concurrent.ReactionStage<Boolean> RevocationOrder.undoPunishment(EnforcementOptions enforcementOptions) Revokes the punishment matching this revocation order, and "unenforces" it according to the given options.space.arim.omnibus.util.concurrent.ReactionStage<?> Punishment.unenforcePunishment(EnforcementOptions enforcementOptions) "Unenforces" this punishment according to the given options.