Interface ExpunctionOrder

All Superinterfaces:
EnforcementOptionsFactory

public interface ExpunctionOrder extends EnforcementOptionsFactory
An order to completely delete a punishment without any trace leftover. Obtained from PunishmentRevoker
  • 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