Interface PostPunishEvent
- All Superinterfaces:
space.arim.omnibus.events.AsyncEvent, space.arim.omnibus.events.Event, PostOpNotificationEvent
public interface PostPunishEvent
extends space.arim.omnibus.events.AsyncEvent, PostOpNotificationEvent
Called after a punishment has been enacted
- Author:
- A248
-
Method Summary
Modifier and TypeMethodDescriptionGets the punishment which was put into place.The command line target of the punishment.default booleanisSilent()If the punishment was issued silently.
-
Method Details
-
getPunishment
Punishment getPunishment()Gets the punishment which was put into place.
The punishment includes the operator who is enacting this punishment, the victim who is being punished, and several other details.- Specified by:
getPunishmentin interfacePostOpNotificationEvent- Returns:
- the punishment
-
getTarget
The command line target of the punishment. This is not necessarily the same as the punished victim (PunishmentBase.getVictim()), but rather the string argument interpreted to mean it.- Specified by:
getTargetin interfacePostOpNotificationEvent- Returns:
- the targeted user (victim name) on the command line, if available
-
isSilent
default boolean isSilent()If the punishment was issued silently.- Specified by:
isSilentin interfacePostOpNotificationEvent- Returns:
- true if silent
-