Enum Class ToThingDescriptionConfig.ConfigValue
java.lang.Object
java.lang.Enum<ToThingDescriptionConfig.ConfigValue>
org.eclipse.ditto.wot.integration.config.ToThingDescriptionConfig.ConfigValue
- All Implemented Interfaces:
Serializable,Comparable<ToThingDescriptionConfig.ConfigValue>,Constable,org.eclipse.ditto.internal.utils.config.KnownConfigValue,org.eclipse.ditto.internal.utils.config.WithConfigPath
- Enclosing interface:
- ToThingDescriptionConfig
public static enum ToThingDescriptionConfig.ConfigValue
extends Enum<ToThingDescriptionConfig.ConfigValue>
implements org.eclipse.ditto.internal.utils.config.KnownConfigValue
An enumeration of the known config path expressions and their associated default values for
ToThingDescriptionConfig.-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionWhether to add"created"to each TD.Whether to add"modified"to each TD.The URI prefix of the WoT"base"to inject in generated TDs.The JSON object template to additionally add to generated WoT TDs.A map containing placeholder constants to use in order to resolve WoT TM placeholders. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static ToThingDescriptionConfig.ConfigValue[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
BASE_PREFIX
The URI prefix of the WoT"base"to inject in generated TDs. -
JSON_TEMPLATE
The JSON object template to additionally add to generated WoT TDs. -
PLACEHOLDERS
A map containing placeholder constants to use in order to resolve WoT TM placeholders. -
ADD_CREATED
Whether to add"created"to each TD. -
ADD_MODIFIED
Whether to add"modified"to each TD.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException- if the argument is null
-
getDefaultValue
- Specified by:
getDefaultValuein interfaceorg.eclipse.ditto.internal.utils.config.KnownConfigValue
-
getConfigPath
- Specified by:
getConfigPathin interfaceorg.eclipse.ditto.internal.utils.config.WithConfigPath
-