Enum AppConfigParam

java.lang.Object
java.lang.Enum<AppConfigParam>
de.poiu.coat.example.AppConfigParam
All Implemented Interfaces:
ConfigParam, Serializable, Comparable<AppConfigParam>

@Generated(value="de.poiu.coat.processor.CoatProcessor", date="2023-05-31T22:45:16.571433835+02:00") public enum AppConfigParam extends Enum<AppConfigParam> implements ConfigParam
  • Enum Constant Details

    • GET_NAME

      public static final AppConfigParam GET_NAME
      A shorthand getName for this application.
    • GET_DESCRIPTION

      public static final AppConfigParam GET_DESCRIPTION
      A short getDescription of the purpose of this application.
    • GET_LISTEN_ADDRESS

      public static final AppConfigParam GET_LISTEN_ADDRESS
      The interfaces to listen on for incoming connections.
    • GET_LISTEN_PORT

      public static final AppConfigParam GET_LISTEN_PORT
      The port to listen on for incoming connections.
  • Method Details

    • values

      public static AppConfigParam[] 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

      public static AppConfigParam 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 name
      NullPointerException - if the argument is null
    • key

      public String key()
      Specified by:
      key in interface ConfigParam
    • type

      public Class type()
      Specified by:
      type in interface ConfigParam
    • collectionType

      public Class collectionType()
      Specified by:
      collectionType in interface ConfigParam
    • defaultValue

      public String defaultValue()
      Specified by:
      defaultValue in interface ConfigParam
    • mandatory

      public boolean mandatory()
      Specified by:
      mandatory in interface ConfigParam
    • converter

      public Class converter()
      Specified by:
      converter in interface ConfigParam
    • listParser

      public Class listParser()
      Specified by:
      listParser in interface ConfigParam