Package org.basepom.mojo.duplicatefinder
Enum ConflictState
- java.lang.Object
-
- java.lang.Enum<ConflictState>
-
- org.basepom.mojo.duplicatefinder.ConflictState
-
- All Implemented Interfaces:
Serializable,Comparable<ConflictState>
public enum ConflictState extends Enum<ConflictState>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONFLICT_CONTENT_DIFFERENTCONFLICT_CONTENT_EQUALNO_CONFLICT
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetHint()static ConflictStatemax(ConflictState... states)StringtoString()static ConflictStatevalueOf(String name)Returns the enum constant of this type with the specified name.static ConflictState[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NO_CONFLICT
public static final ConflictState NO_CONFLICT
-
CONFLICT_CONTENT_EQUAL
public static final ConflictState CONFLICT_CONTENT_EQUAL
-
CONFLICT_CONTENT_DIFFERENT
public static final ConflictState CONFLICT_CONTENT_DIFFERENT
-
-
Method Detail
-
values
public static ConflictState[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ConflictState c : ConflictState.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ConflictState valueOf(String name)
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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getHint
public String getHint()
-
max
public static ConflictState max(ConflictState... states)
-
toString
public String toString()
- Overrides:
toStringin classEnum<ConflictState>
-
-