Package com.intuit.karate
Enum Match.Type
- java.lang.Object
-
- java.lang.Enum<Match.Type>
-
- com.intuit.karate.Match.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Match.Type>
- Enclosing class:
- Match
public static enum Match.Type extends Enum<Match.Type>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINSCONTAINS_ANYCONTAINS_ANY_DEEPCONTAINS_DEEPCONTAINS_ONLYCONTAINS_ONLY_DEEPEACH_CONTAINSEACH_CONTAINS_ANYEACH_CONTAINS_DEEPEACH_CONTAINS_ONLYEACH_EQUALSEACH_NOT_CONTAINSEACH_NOT_EQUALSEQUALSNOT_CONTAINSNOT_EQUALS
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Match.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Match.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
EQUALS
public static final Match.Type EQUALS
-
NOT_EQUALS
public static final Match.Type NOT_EQUALS
-
CONTAINS
public static final Match.Type CONTAINS
-
NOT_CONTAINS
public static final Match.Type NOT_CONTAINS
-
CONTAINS_ONLY
public static final Match.Type CONTAINS_ONLY
-
CONTAINS_ANY
public static final Match.Type CONTAINS_ANY
-
CONTAINS_DEEP
public static final Match.Type CONTAINS_DEEP
-
CONTAINS_ONLY_DEEP
public static final Match.Type CONTAINS_ONLY_DEEP
-
CONTAINS_ANY_DEEP
public static final Match.Type CONTAINS_ANY_DEEP
-
EACH_EQUALS
public static final Match.Type EACH_EQUALS
-
EACH_NOT_EQUALS
public static final Match.Type EACH_NOT_EQUALS
-
EACH_CONTAINS
public static final Match.Type EACH_CONTAINS
-
EACH_NOT_CONTAINS
public static final Match.Type EACH_NOT_CONTAINS
-
EACH_CONTAINS_ONLY
public static final Match.Type EACH_CONTAINS_ONLY
-
EACH_CONTAINS_ANY
public static final Match.Type EACH_CONTAINS_ANY
-
EACH_CONTAINS_DEEP
public static final Match.Type EACH_CONTAINS_DEEP
-
-
Method Detail
-
values
public static Match.Type[] 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 (Match.Type c : Match.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Match.Type 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
-
-