public class ClientYamlSuiteRestSpec
extends java.lang.Object
do
actions in the YAML suite into REST api calls.Modifier and Type | Method and Description |
---|---|
ClientYamlSuiteRestApi |
getApi(java.lang.String api) |
java.util.Collection<ClientYamlSuiteRestApi> |
getApis() |
boolean |
isClientParameter(java.lang.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 Elasticsearch
|
boolean |
isGlobalParameter(java.lang.String param)
Returns whether the provided parameter is one of those parameters that are supported by all Elasticsearch api
|
static ClientYamlSuiteRestSpec |
parseFrom(java.nio.file.FileSystem fileSystem,
java.lang.String optionalPathPrefix,
java.lang.String... paths)
Parses the complete set of REST spec available under the provided directories
|
public ClientYamlSuiteRestApi getApi(java.lang.String api)
public java.util.Collection<ClientYamlSuiteRestApi> getApis()
public boolean isGlobalParameter(java.lang.String param)
public boolean isClientParameter(java.lang.String name)
public static ClientYamlSuiteRestSpec parseFrom(java.nio.file.FileSystem fileSystem, java.lang.String optionalPathPrefix, java.lang.String... paths) throws java.io.IOException
java.io.IOException