Package de.espirit.firstspirit.storage
Enum Class Contrast.Type
- All Implemented Interfaces:
Serializable
,Comparable<Contrast.Type>
,Constable
- Enclosing class:
- Contrast
Describes the type of difference between elements
- Since:
- 4.0.51
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescription@Nullable Class<?>
Returns theClass
used for additional information by thisContrast.Type
.static Contrast.Type
Returns the enum constant of this class with the specified name.static Contrast.Type[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
TYPE
The compared elements have a different Java type- Since:
- 4.0.51
-
DATA
The compared elements have differentData
- Since:
- 4.0.51
-
META_DATA
The compared elements have differentmeta data
- Since:
- 4.0.51
-
STRUCTURE
There are structural changes, e.g. added or removed elements- Since:
- 4.0.51
-
PERMISSION
The compared elements have different permissions- Since:
- 4.0.51
-
-
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
-
getInfoType
Returns theClass
used for additional information by thisContrast.Type
.- Returns:
- the class used to additional information or
null
if unsupported for the current type. - Since:
- 4.0.51
-