public class RestTestSuiteParseContext
extends java.lang.Object
Constructor and Description |
---|
RestTestSuiteParseContext(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() |
java.lang.String |
getSuiteName() |
DoSection |
parseDoSection() |
ExecutableSection |
parseExecutableSection() |
java.lang.String |
parseField() |
org.elasticsearch.common.xcontent.XContentParser |
parser() |
SetupSection |
parseSetupSection() |
SkipSection |
parseSkipSection() |
TestSection |
parseTestSection() |
org.elasticsearch.common.collect.Tuple<java.lang.String,java.lang.Object> |
parseTuple() |
public RestTestSuiteParseContext(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, RestTestParseException
java.io.IOException
RestTestParseException
public TestSection parseTestSection() throws java.io.IOException, RestTestParseException
java.io.IOException
RestTestParseException
public SkipSection parseSkipSection() throws java.io.IOException, RestTestParseException
java.io.IOException
RestTestParseException
public ExecutableSection parseExecutableSection() throws java.io.IOException, RestTestParseException
java.io.IOException
RestTestParseException
public DoSection parseDoSection() throws java.io.IOException, RestTestParseException
java.io.IOException
RestTestParseException
public void advanceToFieldName() throws java.io.IOException, RestTestParseException
java.io.IOException
RestTestParseException
public java.lang.String parseField() throws java.io.IOException, RestTestParseException
java.io.IOException
RestTestParseException
public org.elasticsearch.common.collect.Tuple<java.lang.String,java.lang.Object> parseTuple() throws java.io.IOException, RestTestParseException
java.io.IOException
RestTestParseException