Package de.poiu.coat.example
Enum AppConfigParam
- All Implemented Interfaces:
ConfigParam,Serializable,Comparable<AppConfigParam>
@Generated(value="de.poiu.coat.processor.codegeneration.CodeGenerator",
date="2024-02-28T22:55:19.934095608+01:00")
public enum AppConfigParam
extends Enum<AppConfigParam>
implements ConfigParam
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionA short description of the purpose of this application.The interfaces to listen on for incoming connections.The port to listen on for incoming connections.A shorthand name for this application. -
Method Summary
Modifier and TypeMethodDescriptionkey()booleantype()static AppConfigParamReturns the enum constant of this type with the specified name.static AppConfigParam[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
GET_NAME
A shorthand name for this application. -
GET_DESCRIPTION
A short description of the purpose of this application. -
GET_LISTEN_ADDRESS
The interfaces to listen on for incoming connections. -
GET_LISTEN_PORT
The port to listen on for incoming connections.
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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
- Specified by:
keyin interfaceConfigParam
-
type
- Specified by:
typein interfaceConfigParam
-
collectionType
- Specified by:
collectionTypein interfaceConfigParam
-
defaultValue
- Specified by:
defaultValuein interfaceConfigParam
-
mandatory
public boolean mandatory()- Specified by:
mandatoryin interfaceConfigParam
-
converter
- Specified by:
converterin interfaceConfigParam
-
listParser
- Specified by:
listParserin interfaceConfigParam
-