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