Package dev.aura.bungeechat.message
Enum Format
- java.lang.Object
-
- java.lang.Enum<Format>
-
- dev.aura.bungeechat.message.Format
-
- All Implemented Interfaces:
Serializable
,Comparable<Format>
public enum Format extends Enum<Format>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALERT
CHAT_LOGGING_CONSOLE
CHAT_LOGGING_FILE
GLOBAL_CHAT
HELP_OP
JOIN_MESSAGE
LEAVE_MESSAGE
LOCAL_CHAT
LOCAL_SPY
MESSAGE_SENDER
MESSAGE_TARGET
MOTD
SERVER_SWITCH
SOCIAL_SPY
STAFF_CHAT
WELCOME_MESSAGE
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
get(dev.aura.bungeechat.api.placeholder.BungeeChatContext context)
String
getStringPath()
static Format
valueOf(String name)
Returns the enum constant of this type with the specified name.static Format[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ALERT
public static final Format ALERT
-
CHAT_LOGGING_CONSOLE
public static final Format CHAT_LOGGING_CONSOLE
-
CHAT_LOGGING_FILE
public static final Format CHAT_LOGGING_FILE
-
GLOBAL_CHAT
public static final Format GLOBAL_CHAT
-
HELP_OP
public static final Format HELP_OP
-
JOIN_MESSAGE
public static final Format JOIN_MESSAGE
-
LEAVE_MESSAGE
public static final Format LEAVE_MESSAGE
-
LOCAL_CHAT
public static final Format LOCAL_CHAT
-
LOCAL_SPY
public static final Format LOCAL_SPY
-
MESSAGE_SENDER
public static final Format MESSAGE_SENDER
-
MESSAGE_TARGET
public static final Format MESSAGE_TARGET
-
MOTD
public static final Format MOTD
-
SERVER_SWITCH
public static final Format SERVER_SWITCH
-
SOCIAL_SPY
public static final Format SOCIAL_SPY
-
STAFF_CHAT
public static final Format STAFF_CHAT
-
WELCOME_MESSAGE
public static final Format WELCOME_MESSAGE
-
-
Method Detail
-
values
public static Format[] 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 (Format c : Format.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Format 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
-
get
public String get(dev.aura.bungeechat.api.placeholder.BungeeChatContext context)
-
getStringPath
public String getStringPath()
-
-