Package com.intuit.karate.core
Enum Variable.Type
- java.lang.Object
-
- java.lang.Enum<Variable.Type>
-
- com.intuit.karate.core.Variable.Type
-
- All Implemented Interfaces:
Serializable,Comparable<Variable.Type>
- Enclosing class:
- Variable
public static enum Variable.Type extends Enum<Variable.Type>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Variable.TypevalueOf(String name)Returns the enum constant of this type with the specified name.static Variable.Type[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
NULL
public static final Variable.Type NULL
-
BOOLEAN
public static final Variable.Type BOOLEAN
-
NUMBER
public static final Variable.Type NUMBER
-
STRING
public static final Variable.Type STRING
-
BYTES
public static final Variable.Type BYTES
-
LIST
public static final Variable.Type LIST
-
MAP
public static final Variable.Type MAP
-
XML
public static final Variable.Type XML
-
JS_FUNCTION
public static final Variable.Type JS_FUNCTION
-
JAVA_FUNCTION
public static final Variable.Type JAVA_FUNCTION
-
FEATURE
public static final Variable.Type FEATURE
-
OTHER
public static final Variable.Type OTHER
-
-
Method Detail
-
values
public static Variable.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 (Variable.Type c : Variable.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 Variable.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
-
-