Enum SchemaElementComparison.ComparisonResult
- java.lang.Object
-
- java.lang.Enum<SchemaElementComparison.ComparisonResult>
-
- com.atlassian.confluence.core.persistence.schema.api.SchemaElementComparison.ComparisonResult
-
- All Implemented Interfaces:
Serializable
,Comparable<SchemaElementComparison.ComparisonResult>
- Enclosing interface:
- SchemaElementComparison<T>
public static enum SchemaElementComparison.ComparisonResult extends Enum<SchemaElementComparison.ComparisonResult>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACTUAL_ELEMENT_MISSING
EXPECTED_ELEMENT_MISSING
MATCH
MISMATCH
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static SchemaElementComparison.ComparisonResult
valueOf(String name)
Returns the enum constant of this type with the specified name.static SchemaElementComparison.ComparisonResult[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
MATCH
public static final SchemaElementComparison.ComparisonResult MATCH
-
MISMATCH
public static final SchemaElementComparison.ComparisonResult MISMATCH
-
ACTUAL_ELEMENT_MISSING
public static final SchemaElementComparison.ComparisonResult ACTUAL_ELEMENT_MISSING
-
EXPECTED_ELEMENT_MISSING
public static final SchemaElementComparison.ComparisonResult EXPECTED_ELEMENT_MISSING
-
-
Method Detail
-
values
public static SchemaElementComparison.ComparisonResult[] 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 (SchemaElementComparison.ComparisonResult c : SchemaElementComparison.ComparisonResult.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static SchemaElementComparison.ComparisonResult 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
-
-