Package tv.phantombot.event.irc.message
Enum Class IrcModerationEvent.ModerationActions.Actions
java.lang.Object
java.lang.Enum<IrcModerationEvent.ModerationActions.Actions>
tv.phantombot.event.irc.message.IrcModerationEvent.ModerationActions.Actions
- All Implemented Interfaces:
Serializable
,Comparable<IrcModerationEvent.ModerationActions.Actions>
,Constable
- Enclosing class:
- IrcModerationEvent.ModerationActions
public static enum IrcModerationEvent.ModerationActions.Actions
extends Enum<IrcModerationEvent.ModerationActions.Actions>
Possible actions
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum Constants -
Method Summary
-
Enum Constant Details
-
None
No action -
UnBan
Unban -
Delete
Delete message -
ClearChat
Clear Chat -
Timeout
Timeout -
Ban
Ban
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-
value
public int value()- Returns:
- A numeric value which sorts actions from least harsh (0) to most harsh
-