Enum ChatFilterType
- java.lang.Object
-
- java.lang.Enum<ChatFilterType>
-
- net.runelite.client.plugins.chatfilter.ChatFilterType
-
- All Implemented Interfaces:
Serializable
,Comparable<ChatFilterType>
public enum ChatFilterType extends Enum<ChatFilterType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CENSOR_MESSAGE
CENSOR_WORDS
REMOVE_MESSAGE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ChatFilterType
valueOf(String name)
Returns the enum constant of this type with the specified name.static ChatFilterType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CENSOR_WORDS
public static final ChatFilterType CENSOR_WORDS
-
CENSOR_MESSAGE
public static final ChatFilterType CENSOR_MESSAGE
-
REMOVE_MESSAGE
public static final ChatFilterType REMOVE_MESSAGE
-
-
Method Detail
-
values
public static ChatFilterType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ChatFilterType c : ChatFilterType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ChatFilterType valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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 type has no constant with the specified nameNullPointerException
- if the argument is null
-
-