Package de.poiu.coat.example
Enum TheOtherConfigParam
- java.lang.Object
-
- java.lang.Enum<TheOtherConfigParam>
-
- de.poiu.coat.example.TheOtherConfigParam
-
- All Implemented Interfaces:
ConfigParam,Serializable,Comparable<TheOtherConfigParam>
@Generated(value="de.poiu.coat.processor.CoatProcessor", date="2021-03-19T16:38:45.161946+01:00") public enum TheOtherConfigParam extends Enum<TheOtherConfigParam> implements ConfigParam
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CHARSET_WITH_DEFAULTDISABLEDMANDATORY_STRINGOPTIONAL_INET_ADDRESSOPTIONAL_INT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringdefaultValue()Stringkey()booleanmandatory()Classtype()static TheOtherConfigParamvalueOf(String name)Returns the enum constant of this type with the specified name.static TheOtherConfigParam[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DISABLED
public static final TheOtherConfigParam DISABLED
-
MANDATORY_STRING
public static final TheOtherConfigParam MANDATORY_STRING
-
OPTIONAL_INT
public static final TheOtherConfigParam OPTIONAL_INT
-
CHARSET_WITH_DEFAULT
public static final TheOtherConfigParam CHARSET_WITH_DEFAULT
-
OPTIONAL_INET_ADDRESS
public static final TheOtherConfigParam OPTIONAL_INET_ADDRESS
-
-
Method Detail
-
values
public static TheOtherConfigParam[] 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 (TheOtherConfigParam c : TheOtherConfigParam.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static TheOtherConfigParam 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
-
key
public String key()
- Specified by:
keyin interfaceConfigParam
-
type
public Class type()
- Specified by:
typein interfaceConfigParam
-
defaultValue
public String defaultValue()
- Specified by:
defaultValuein interfaceConfigParam
-
mandatory
public boolean mandatory()
- Specified by:
mandatoryin interfaceConfigParam
-
-