Package com.marigold.sdk.enums
Enum MergeRules
-
- All Implemented Interfaces:
-
java.io.Serializable
,kotlin.Comparable
public enum MergeRules extends Enum<MergeRules>
Enum with options for how the attribute map should be applied to existing attributes.
-
-
Field Summary
Fields Modifier and Type Field Description private final String
name
private final Integer
ordinal
private final EnumEntries<MergeRules>
entries
-
Enum Constant Summary
Enum Constants Enum Constant Description RULE_UPDATE
Merge the attributes contained in this map with the existing attributes on this device.
RULE_REPLACE
Replace all attributes on this device with the attributes contained in this map. This will erase all pre-existing attributes.
-
Method Summary
Modifier and Type Method Description final MergeRules
valueOf(String value)
Returns the enum constant of this type with the specified name. final Array<MergeRules>
values()
Returns an array containing the constants of this enum type, in the order they're declared. final EnumEntries<MergeRules>
getEntries()
Enum with options for how the attribute map should be applied to existing attributes. -
-
Method Detail
-
valueOf
final MergeRules valueOf(String value)
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.)
-
values
final Array<MergeRules> values()
Returns an array containing the constants of this enum type, in the order they're declared.
This method may be used to iterate over the constants.
-
getEntries
final EnumEntries<MergeRules> getEntries()
Enum with options for how the attribute map should be applied to existing attributes.
-
-
-
-