public enum Messages extends Enum<Messages>
Enum Constant and Description |
---|
ALIAS_ADED
Message for adding alias to types, takes two placehoders:
alias name, class name.
|
ENTRY_EMPTY_FILLER
Message indicating an entry index is not valid, takes two placeholders:
layout name, entry name.
|
ENTRY_INVALID_INDEX
Message indicating an entry index is not valid, takes three placeholders:
layout name, entry name, index.
|
ENTRY_INVALID_SIZE
Message indicating that a entry has an invalid size.
|
PLUGIN_ADDED
Message for adding plugins, takes two placeholders:
type handler class, handled class name.
|
Modifier and Type | Method and Description |
---|---|
String |
format(Object... arguments)
Format the message replacing the placeholders with the arguments.
|
static Messages |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Messages[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Messages ALIAS_ADED
public static final Messages PLUGIN_ADDED
public static final Messages ENTRY_INVALID_INDEX
public static final Messages ENTRY_EMPTY_FILLER
public static final Messages ENTRY_INVALID_SIZE
public static Messages[] values()
for (Messages c : Messages.values()) System.out.println(c);
public static Messages valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullCopyright © 2014. All Rights Reserved.