Enum Messages.Resource
- java.lang.Object
-
- java.lang.Enum<Messages.Resource>
-
- de.codecentric.reedelk.platform.commons.Messages.Resource
-
- All Implemented Interfaces:
de.codecentric.reedelk.runtime.api.commons.FormattedMessage,Serializable,Comparable<Messages.Resource>
- Enclosing class:
- Messages
public static enum Messages.Resource extends Enum<Messages.Resource> implements de.codecentric.reedelk.runtime.api.commons.FormattedMessage
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ERROR_RESOURCE_NOT_FOUND_NULLERROR_RESOURCE_NOT_FOUND_WITH_VALUERESOURCE_DYNAMIC_NOT_FOUNDRESOURCE_NOT_FOUND
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Stringtemplate()static Messages.ResourcevalueOf(String name)Returns the enum constant of this type with the specified name.static Messages.Resource[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RESOURCE_DYNAMIC_NOT_FOUND
public static final Messages.Resource RESOURCE_DYNAMIC_NOT_FOUND
-
RESOURCE_NOT_FOUND
public static final Messages.Resource RESOURCE_NOT_FOUND
-
ERROR_RESOURCE_NOT_FOUND_NULL
public static final Messages.Resource ERROR_RESOURCE_NOT_FOUND_NULL
-
ERROR_RESOURCE_NOT_FOUND_WITH_VALUE
public static final Messages.Resource ERROR_RESOURCE_NOT_FOUND_WITH_VALUE
-
-
Method Detail
-
values
public static Messages.Resource[] 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 (Messages.Resource c : Messages.Resource.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Messages.Resource 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
-
template
public String template()
- Specified by:
templatein interfacede.codecentric.reedelk.runtime.api.commons.FormattedMessage
-
-