Enum DslJsonExtractor.JsonQueryLanguage
- java.lang.Object
-
- java.lang.Enum<DslJsonExtractor.JsonQueryLanguage>
-
- us.abstracta.jmeter.javadsl.core.postprocessors.DslJsonExtractor.JsonQueryLanguage
-
- All Implemented Interfaces:
Serializable,Comparable<DslJsonExtractor.JsonQueryLanguage>
- Enclosing class:
- DslJsonExtractor
public static enum DslJsonExtractor.JsonQueryLanguage extends Enum<DslJsonExtractor.JsonQueryLanguage>
Specifies the query language used to extract from JSON.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DslJsonExtractor.JsonQueryLanguagevalueOf(String name)Returns the enum constant of this type with the specified name.static DslJsonExtractor.JsonQueryLanguage[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
JMES_PATH
public static final DslJsonExtractor.JsonQueryLanguage JMES_PATH
Specifies to use JMESPath.Check JMESPath site for more details.
-
JSON_PATH
public static final DslJsonExtractor.JsonQueryLanguage JSON_PATH
Specifies to use JSONPath. You can check here for documentation on JMeter implementation of JSON Path.
-
-
Method Detail
-
values
public static DslJsonExtractor.JsonQueryLanguage[] 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 (DslJsonExtractor.JsonQueryLanguage c : DslJsonExtractor.JsonQueryLanguage.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DslJsonExtractor.JsonQueryLanguage 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
-
-