Class ClientYamlSuiteRestSpec
java.lang.Object
org.elasticsearch.test.rest.yaml.restspec.ClientYamlSuiteRestSpec
Holds the specification used to turn
do actions in the YAML suite into REST api calls.-
Method Summary
Modifier and TypeMethodDescriptiongetApis()booleanisClientParameter(String name) Returns whether the provided parameter is one of those parameters that are supported by the Elasticsearch language clients, meaning that they influence the client behaviour and don't get sent to ElasticsearchbooleanisGlobalParameter(String param) Returns whether the provided parameter is one of those parameters that are supported by all Elasticsearch apistatic ClientYamlSuiteRestSpecParses the complete set of REST spec available under the provided directories
-
Method Details
-
getApi
-
getApis
-
isGlobalParameter
Returns whether the provided parameter is one of those parameters that are supported by all Elasticsearch api -
isClientParameter
Returns whether the provided parameter is one of those parameters that are supported by the Elasticsearch language clients, meaning that they influence the client behaviour and don't get sent to Elasticsearch -
load
Parses the complete set of REST spec available under the provided directories- Throws:
Exception
-