public class ClientYamlTestSuiteParseContext
extends java.lang.Object
implements org.elasticsearch.common.ParseFieldMatcherSupplier
Constructor and Description |
---|
ClientYamlTestSuiteParseContext(java.lang.String api,
java.lang.String suiteName,
org.elasticsearch.common.xcontent.XContentParser parser) |
Modifier and Type | Method and Description |
---|---|
void |
advanceToFieldName() |
java.lang.String |
getApi() |
org.elasticsearch.common.ParseFieldMatcher |
getParseFieldMatcher() |
java.lang.String |
getSuiteName() |
DoSection |
parseDoSection() |
ExecutableSection |
parseExecutableSection() |
java.lang.String |
parseField() |
org.elasticsearch.common.xcontent.XContentParser |
parser() |
SetupSection |
parseSetupSection() |
SkipSection |
parseSkipSection() |
TeardownSection |
parseTeardownSection() |
ClientYamlTestSection |
parseTestSection() |
org.elasticsearch.common.collect.Tuple<java.lang.String,java.lang.Object> |
parseTuple() |
public ClientYamlTestSuiteParseContext(java.lang.String api, java.lang.String suiteName, org.elasticsearch.common.xcontent.XContentParser parser)
public java.lang.String getApi()
public java.lang.String getSuiteName()
public org.elasticsearch.common.xcontent.XContentParser parser()
public SetupSection parseSetupSection() throws java.io.IOException, ClientYamlTestParseException
java.io.IOException
ClientYamlTestParseException
public TeardownSection parseTeardownSection() throws java.io.IOException, ClientYamlTestParseException
java.io.IOException
ClientYamlTestParseException
public ClientYamlTestSection parseTestSection() throws java.io.IOException, ClientYamlTestParseException
java.io.IOException
ClientYamlTestParseException
public SkipSection parseSkipSection() throws java.io.IOException, ClientYamlTestParseException
java.io.IOException
ClientYamlTestParseException
public ExecutableSection parseExecutableSection() throws java.io.IOException, ClientYamlTestParseException
java.io.IOException
ClientYamlTestParseException
public DoSection parseDoSection() throws java.io.IOException, ClientYamlTestParseException
java.io.IOException
ClientYamlTestParseException
public void advanceToFieldName() throws java.io.IOException, ClientYamlTestParseException
java.io.IOException
ClientYamlTestParseException
public java.lang.String parseField() throws java.io.IOException, ClientYamlTestParseException
java.io.IOException
ClientYamlTestParseException
public org.elasticsearch.common.collect.Tuple<java.lang.String,java.lang.Object> parseTuple() throws java.io.IOException, ClientYamlTestParseException
java.io.IOException
ClientYamlTestParseException
public org.elasticsearch.common.ParseFieldMatcher getParseFieldMatcher()
getParseFieldMatcher
in interface org.elasticsearch.common.ParseFieldMatcherSupplier