public enum ConfigMessageFormat extends Enum<ConfigMessageFormat> implements MessageFormatter
Modifier and Type | Method and Description |
---|---|
String |
getLoggingFormat()
The message format used for logging.
|
String |
getMessageFormat()
The message format used for publishing out of the system, typically in error messages.
|
static ConfigMessageFormat |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigMessageFormat[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
format, logFormat
public static final ConfigMessageFormat MODULE_IO_EXCEPTION
public static final ConfigMessageFormat CIRCULAR_DEPENDENCY
public static final ConfigMessageFormat INVALID_MODULE_CONFIGURATION
public static final ConfigMessageFormat INVALID_MODULE_NAME
public static final ConfigMessageFormat TOO_MANY_USER_CONFIGS
public static final ConfigMessageFormat INVALID_TEST_APPLICATION_CONFIG
public static final ConfigMessageFormat TOO_MANY_APPLICATION_CONFIGS
public static final ConfigMessageFormat CONFIGURATION_LOAD_ERROR
public static final ConfigMessageFormat MODULE_NAME_DUPLICATION
public static final ConfigMessageFormat MODULE_NAME_MISSING
public static final ConfigMessageFormat NO_SUCH_MODULE
public static final ConfigMessageFormat MISSING_DEPENDENCY
public static final ConfigMessageFormat MODULE_FOUND_MESSAGE
public static final ConfigMessageFormat MODULE_DEPENDS_ON_MESSAGE
public static final ConfigMessageFormat RESOURCE_LOAD_MESSAGE
public static ConfigMessageFormat[] values()
for (ConfigMessageFormat c : ConfigMessageFormat.values()) System.out.println(c);
public static ConfigMessageFormat 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 nullpublic String getMessageFormat()
MessageFormatter
getMessageFormat
in interface MessageFormatter
public String getLoggingFormat()
MessageFormatter
getLoggingFormat
in interface MessageFormatter
Copyright © 2016–2018 Yahoo! Inc.. All rights reserved.