Package com.deltaxml.mergecommon.config
Enum Class TrackChangesAttributeMode
- All Implemented Interfaces:
Serializable,Comparable<TrackChangesAttributeMode>,Constable
Attribute representation used with threeway track change output.
Note: This setting only works with the result type
ThreeWayMergeResultType.THREE_WAY_OXYGEN_TRACK_CHANGES.
Default Setting
The TC_EDIT1 setting is used by default.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionUses a prefix notation so that multiple attribute values are presented in case of conflicts.When there are attribute conflicts the attribute value of the 'ancestor' version's is used in the result.When there are attribute conflicts the attribute value of the 'edit1' version's is used in the result.When there are attribute conflicts the attribute value of the 'edit2' version's is used in the result. -
Method Summary
Modifier and TypeMethodDescriptionstatic TrackChangesAttributeModeReturns the enum constant of this class with the specified name.static TrackChangesAttributeMode[]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
-
TC_ANCESTOR
When there are attribute conflicts the attribute value of the 'ancestor' version's is used in the result. 'ancestor' refers to the parameter of that name in the merge methods or the second version supplied using setAncestor method. -
TC_EDIT1
When there are attribute conflicts the attribute value of the 'edit1' version's is used in the result. edit1 refers to the parameter of that name in the merge methods or the first version supplied using addVersion methods. -
TC_EDIT2
When there are attribute conflicts the attribute value of the 'edit2' version's is used in the result. edit2 refers to the parameter of that name in the merge methods or the second version supplied using addVersion methods. -
PREFIX
Uses a prefix notation so that multiple attribute values are presented in case of conflicts. This is achieved by creating different attributes using the version name (such as 'edit1' or 'edit2') as a prefix to the original attribute name and assigning respective attribute values to them.
-
-
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
-