Package org.eclipse.emf.compare
Enum Class ConflictKind
- All Implemented Interfaces:
Serializable
,Comparable<ConflictKind>
,java.lang.constant.Constable
,Enumerator
A representation of the literals of the enumeration 'Conflict Kind',
and utility methods for working with them.
Conflicts detected through EMF Compare can be of a number of different types.
- REAL are the conflicts that cannot be merged automatically,
- PSEUDO are the "conflicts" that represent the same change made on the two sides, which can thus be automatically merged.
- See Also:
- Generated:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
static final int
The 'PSEUDO' literal value.static final int
The 'REAL' literal value.static final List<ConflictKind>
A public read-only list of all the 'Conflict Kind' enumerators. -
Method Summary
Modifier and TypeMethodDescriptionstatic ConflictKind
get
(int value) Returns the 'Conflict Kind' literal with the specified integer value.static ConflictKind
Returns the 'Conflict Kind' literal with the specified literal value.static ConflictKind
Returns the 'Conflict Kind' literal with the specified name.getName()
int
getValue()
toString()
Returns the literal value of the enumerator, which is its string representation.static ConflictKind
Returns the enum constant of this class with the specified name.static ConflictKind[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
REAL
The 'REAL' literal object.- See Also:
- Generated:
-
PSEUDO
The 'PSEUDO' literal object.- See Also:
- Generated:
-
-
Field Details
-
copyright
- See Also:
- Generated:
-
REAL_VALUE
public static final int REAL_VALUEThe 'REAL' literal value. conflicts that cannot be merged automatically as they represent incompatible differences on the two sides.- See Also:
- Generated:
-
PSEUDO_VALUE
public static final int PSEUDO_VALUEThe 'PSEUDO' literal value. If the same change has been made on the two sides since the common ancestor, these changes will be marked as "pseudo-conflicting" changes : there are changes, but they can be merged automatically.- See Also:
- Generated:
-
VALUES
A public read-only list of all the 'Conflict Kind' enumerators.- Generated:
-
-
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
-
get
Returns the 'Conflict Kind' literal with the specified literal value.- Generated:
-
getByName
Returns the 'Conflict Kind' literal with the specified name.- Generated:
-
get
Returns the 'Conflict Kind' literal with the specified integer value.- Generated:
-
getValue
public int getValue()- Specified by:
getValue
in interfaceEnumerator
- Generated:
-
getName
- Specified by:
getName
in interfaceEnumerator
- Generated:
-
getLiteral
- Specified by:
getLiteral
in interfaceEnumerator
- Generated:
-
toString
Returns the literal value of the enumerator, which is its string representation.- Overrides:
toString
in classEnum<ConflictKind>
- Generated:
-