Package io.debezium.junit
Enum EqualityCheck
- java.lang.Object
-
- java.lang.Enum<EqualityCheck>
-
- io.debezium.junit.EqualityCheck
-
- All Implemented Interfaces:
Serializable,Comparable<EqualityCheck>
public enum EqualityCheck extends Enum<EqualityCheck>
Used bySkipWhenKafkaVersionandSkipWhenDatabaseVersionto define the type of skip rule.- Author:
- Chris Cranford
-
-
Enum Constant Summary
Enum Constants Enum Constant Description EQUALGREATER_THANGREATER_THAN_OR_EQUALLESS_THANLESS_THAN_OR_EQUAL
-
Constructor Summary
Constructors Modifier Constructor Description privateEqualityCheck()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EqualityCheckvalueOf(String name)Returns the enum constant of this type with the specified name.static EqualityCheck[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
LESS_THAN
public static final EqualityCheck LESS_THAN
-
LESS_THAN_OR_EQUAL
public static final EqualityCheck LESS_THAN_OR_EQUAL
-
EQUAL
public static final EqualityCheck EQUAL
-
GREATER_THAN_OR_EQUAL
public static final EqualityCheck GREATER_THAN_OR_EQUAL
-
GREATER_THAN
public static final EqualityCheck GREATER_THAN
-
-
Method Detail
-
values
public static EqualityCheck[] 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 (EqualityCheck c : EqualityCheck.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EqualityCheck 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
-
-