public enum Option extends Enum<Option>
Enum Constant and Description |
---|
THROW_ON_MISSING_PROPERTY
Throw
PathNotFoundException when JsonPath tries to read a property that does not exists. |
Modifier and Type | Method and Description |
---|---|
static Option |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Option[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Option THROW_ON_MISSING_PROPERTY
PathNotFoundException
when JsonPath tries to read a property that does not exists.public static Option[] values()
for (Option c : Option.values()) System.out.println(c);
public static Option valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2011–2014. All rights reserved.