Interface ExpunctionOrder
- All Superinterfaces:
EnforcementOptionsFactory
An order to completely delete a punishment without any trace leftover. Obtained from
PunishmentRevoker-
Method Summary
Methods inherited from interface EnforcementOptionsFactory
enforcementOptionsBuilder
-
Method Details
-
getID
long getID()Gets the ID of the punishment which will be expunged- Returns:
- the ID
-
expunge
space.arim.omnibus.util.concurrent.ReactionStage<Boolean> expunge()Expunges the punishment.
An expunged punishment is not "undone" and therefore does not trigger undo notifications.- Returns:
- a future which yields true if the punishment existed and was expunged
-