Enum Class Node.DuplicateNodeAction
java.lang.Object
java.lang.Enum<Node.DuplicateNodeAction>
com.northconcepts.datapipeline.core.Node.DuplicateNodeAction
- All Implemented Interfaces:
Serializable,Comparable<Node.DuplicateNodeAction>,Constable
- Enclosing class:
Node
DuplicateNodeAction lists all actions that can be taken automatically when a target field already exists during a record copy or lookup.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCombines the fields into an array if either (or both) are either arrays or single valued fields, otherwise combines the fields into a single record.Creates a new, unique target field by appending a number to the name.Throw an exception and stop the copy/merge.Replaces the target field with the source field.Silently ignore the conflict and continue with the remaining fields. -
Method Summary
Modifier and TypeMethodDescriptionstatic Node.DuplicateNodeActionReturns the enum constant of this class with the specified name.static Node.DuplicateNodeAction[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
APPEND
Combines the fields into an array if either (or both) are either arrays or single valued fields, otherwise combines the fields into a single record. -
OVERWRITE
Replaces the target field with the source field. -
CREATE_UNIQUE
Creates a new, unique target field by appending a number to the name. -
SKIP
Silently ignore the conflict and continue with the remaining fields. -
FAIL
Throw an exception and stop the copy/merge.
-
-
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
-