Enum MqttConfigParam

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

@Generated(value="de.poiu.coat.processor.codegeneration.CodeGenerator", date="2024-02-28T22:55:19.907719198+01:00") public enum MqttConfigParam extends Enum<MqttConfigParam> implements ConfigParam
  • Enum Constant Details

    • GET_CLIENT_ID

      public static final MqttConfigParam GET_CLIENT_ID
      The clientId to send to the MQTT broker.
    • GET_BROKER_ADDRESSES

      public static final MqttConfigParam GET_BROKER_ADDRESSES
      The address(es) of the MQTT broker.
    • GET_PORT

      public static final MqttConfigParam GET_PORT
      The port to communicate with the MQTT broker.
    • USERNAME

      public static final MqttConfigParam USERNAME
      The username to connect to the MQTT broker.
    • PASSWORD

      public static final MqttConfigParam PASSWORD
      The password to connect to the MQTT broker.
  • Method Details

    • values

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