Class CooldownApiEvent
java.lang.Object
dev.rollczi.litecommands.cooldown.event.CooldownApiEvent
- All Implemented Interfaces:
CooldownEvent,Event
-
Nested Class Summary
Nested classes/interfaces inherited from interface dev.rollczi.litecommands.cooldown.event.CooldownEvent
CooldownEvent.Cause -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCause()getKey()booleanvoidsetCancelled(boolean cancelled) voidsetDuration(Duration duration) void
-
Constructor Details
-
CooldownApiEvent
-
-
Method Details
-
getSender
- Specified by:
getSenderin interfaceCooldownEvent
-
getKey
- Specified by:
getKeyin interfaceCooldownEvent
-
setKey
- Specified by:
setKeyin interfaceCooldownEvent
-
getDuration
- Specified by:
getDurationin interfaceCooldownEvent
-
setDuration
- Specified by:
setDurationin interfaceCooldownEvent
-
isCancelled
public boolean isCancelled()- Specified by:
isCancelledin interfaceCooldownEvent
-
setCancelled
public void setCancelled(boolean cancelled) - Specified by:
setCancelledin interfaceCooldownEvent
-
getCause
- Specified by:
getCausein interfaceCooldownEvent
-