Enum Constant and Description |
---|
OBJECT
Use an object which may contain Data and Context fields as object values, if desired.
|
TEXT
Use a literal string This might be a JSON-encoded object, or just text.
|
Modifier and Type | Method and Description |
---|---|
static InputType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static InputType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputType TEXT
valid JSON text: standalone, quote-delimited strings; objects; arrays; numbers; Boolean values; and null.
example: literal string
example: {"json": "encoded"}
public static final InputType OBJECT
example: { literal: 'literal', SomeInput: sfn.JsonPath.stringAt('$.someField') }
public static InputType[] values()
for (InputType c : InputType.values()) System.out.println(c);
public static InputType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null