Enum Class EntryConcatMethod
java.lang.Object
java.lang.Enum<EntryConcatMethod>
org.sentrysoftware.metricshub.engine.connector.model.common.EntryConcatMethod
- All Implemented Interfaces:
Serializable,Comparable<EntryConcatMethod>,Constable,IEntryConcatMethod
Represents different methods for concatenating entries in a connector.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionConcatenation using a JSON array.Concatenation using an extended JSON array.Concatenation using a list. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final List<EntryConcatMethod> List of all possible values forEntryConcatMethod. -
Method Summary
Modifier and TypeMethodDescriptioncopy()Creates a deep copy of the currentIEntryConcatMethodinstance.static EntryConcatMethodGetEntryConcatMethodby name, the name defined in the connector code.Gets a human-readable description of the entry concatenation method.static EntryConcatMethodReturns the enum constant of this class with the specified name.static EntryConcatMethod[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
LIST
Concatenation using a list. -
JSON_ARRAY
Concatenation using a JSON array. -
JSON_ARRAY_EXTENDED
Concatenation using an extended JSON array.
-
-
Field Details
-
ENUM_VALUES
List of all possible values forEntryConcatMethod.
-
-
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
-
getByName
GetEntryConcatMethodby name, the name defined in the connector code.- Parameters:
name- The name of the concatenation method.- Returns:
EntryConcatMethodinstance.- Throws:
IllegalArgumentException- if an invalid name is provided.
-
copy
Description copied from interface:IEntryConcatMethodCreates a deep copy of the currentIEntryConcatMethodinstance.- Specified by:
copyin interfaceIEntryConcatMethod- Returns:
- A new instance of
IEntryConcatMethodrepresenting a copy of the original instance.
-
getDescription
Description copied from interface:IEntryConcatMethodGets a human-readable description of the entry concatenation method.- Specified by:
getDescriptionin interfaceIEntryConcatMethod- Returns:
- A string representing the description of the entry concatenation method.
-