Enum ConfigManager.Field
- java.lang.Object
-
- java.lang.Enum<ConfigManager.Field>
-
- fr.royalpha.bungeeannounce.manager.ConfigManager.Field
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Comparable<ConfigManager.Field>,java.lang.constant.Constable
- Enclosing class:
- ConfigManager
public static enum ConfigManager.Field extends java.lang.Enum<ConfigManager.Field>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTION_PREFIXANNOUNCE_PREFIXCOMMAND_FOR_PRIVATE_MESSAGINGENABLE_PRIVATE_MESSAGINGPM_PLAYER_NOT_ONLINEPM_RECEIVEDPM_SENDER_EQUALS_RECEIVERPM_SENTREGISTER_LOGSREPLY_INFOSUBTITLE_PREFIXTITLE_PREFIXWARN_PREFIX
-
Method Summary
Modifier and Type Method Description booleangetBoolean()java.lang.ObjectgetDefault()java.lang.StringgetField()java.lang.StringgetString()java.lang.Class<?>getType()static voidinit(net.md_5.bungee.config.Configuration config)static ConfigManager.FieldvalueOf(java.lang.String name)Returns the enum constant of this type with the specified name.static ConfigManager.Field[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENABLE_PRIVATE_MESSAGING
public static final ConfigManager.Field ENABLE_PRIVATE_MESSAGING
-
COMMAND_FOR_PRIVATE_MESSAGING
public static final ConfigManager.Field COMMAND_FOR_PRIVATE_MESSAGING
-
REGISTER_LOGS
public static final ConfigManager.Field REGISTER_LOGS
-
ANNOUNCE_PREFIX
public static final ConfigManager.Field ANNOUNCE_PREFIX
-
ACTION_PREFIX
public static final ConfigManager.Field ACTION_PREFIX
-
SUBTITLE_PREFIX
public static final ConfigManager.Field SUBTITLE_PREFIX
-
TITLE_PREFIX
public static final ConfigManager.Field TITLE_PREFIX
-
WARN_PREFIX
public static final ConfigManager.Field WARN_PREFIX
-
PM_SENT
public static final ConfigManager.Field PM_SENT
-
PM_RECEIVED
public static final ConfigManager.Field PM_RECEIVED
-
PM_PLAYER_NOT_ONLINE
public static final ConfigManager.Field PM_PLAYER_NOT_ONLINE
-
PM_SENDER_EQUALS_RECEIVER
public static final ConfigManager.Field PM_SENDER_EQUALS_RECEIVER
-
REPLY_INFO
public static final ConfigManager.Field REPLY_INFO
-
-
Method Detail
-
values
public static ConfigManager.Field[] values()
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConfigManager.Field valueOf(java.lang.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:
java.lang.IllegalArgumentException- if this enum type has no constant with the specified namejava.lang.NullPointerException- if the argument is null
-
getField
public java.lang.String getField()
-
getType
public java.lang.Class<?> getType()
-
getBoolean
public boolean getBoolean()
-
getString
public java.lang.String getString()
-
getDefault
public java.lang.Object getDefault()
-
init
public static void init(net.md_5.bungee.config.Configuration config)
-
-