Enum Class FieldValueMappingMigration.Operator
java.lang.Object
java.lang.Enum<FieldValueMappingMigration.Operator>
cloud.quinimbus.persistence.api.annotation.FieldValueMappingMigration.Operator
- All Implemented Interfaces:
Serializable
,Comparable<FieldValueMappingMigration.Operator>
,Constable
- Enclosing class:
FieldValueMappingMigration
public static enum FieldValueMappingMigration.Operator
extends Enum<FieldValueMappingMigration.Operator>
An operator for matching a mapping.
- Since:
- 0.2
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionMatch if the string is exactly equals.Match if the string is equals ignoring the case.Use the old value of the mapping as regex to match. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static FieldValueMappingMigration.Operator[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
EQUALS
Match if the string is exactly equals. -
EQUALS_IGNORE_CASE
Match if the string is equals ignoring the case. -
REGEX
Use the old value of the mapping as regex to match.
-
-
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
-