Enum AgencyPluginUtils.Message
- java.lang.Object
-
- java.lang.Enum<AgencyPluginUtils.Message>
-
- com.openindex.openestate.tool.agency.AgencyPluginUtils.Message
-
- All Implemented Interfaces:
Translatable,Serializable,Comparable<AgencyPluginUtils.Message>
- Enclosing class:
- AgencyPluginUtils
public static enum AgencyPluginUtils.Message extends Enum<AgencyPluginUtils.Message> implements Translatable
-
-
Enum Constant Summary
Enum Constants Enum Constant Description FULL_EXPORT_WARNINGPROPERTY_NR_IDENTIFICATION_WARNING
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetTranslation()StringgetTranslation(Locale locale)static AgencyPluginUtils.MessagevalueOf(String name)Returns the enum constant of this type with the specified name.static AgencyPluginUtils.Message[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FULL_EXPORT_WARNING
public static final AgencyPluginUtils.Message FULL_EXPORT_WARNING
-
PROPERTY_NR_IDENTIFICATION_WARNING
public static final AgencyPluginUtils.Message PROPERTY_NR_IDENTIFICATION_WARNING
-
-
Method Detail
-
values
public static AgencyPluginUtils.Message[] 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 (AgencyPluginUtils.Message c : AgencyPluginUtils.Message.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AgencyPluginUtils.Message 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
-
getTranslation
public String getTranslation()
- Specified by:
getTranslationin interfaceTranslatable
-
getTranslation
public String getTranslation(Locale locale)
- Specified by:
getTranslationin interfaceTranslatable
-
-