ExecutableSectionpublic class SetSection extends java.lang.Object implements ExecutableSection
XCONTENT_REGISTRY| Constructor | Description |
|---|---|
SetSection(XContentLocation location) |
| Modifier and Type | Method | Description |
|---|---|---|
void |
addSet(java.lang.String responseField,
java.lang.String stashedField) |
|
void |
execute(ClientYamlTestExecutionContext executionContext) |
Executes the section passing in the execution context
|
XContentLocation |
getLocation() |
Get the location in the test that this was defined.
|
java.util.Map<java.lang.String,java.lang.String> |
getStash() |
|
static SetSection |
parse(XContentParser parser) |
public SetSection(XContentLocation location)
public static SetSection parse(XContentParser parser) throws java.io.IOException
java.io.IOExceptionpublic void addSet(java.lang.String responseField,
java.lang.String stashedField)
public java.util.Map<java.lang.String,java.lang.String> getStash()
public XContentLocation getLocation()
ExecutableSectiongetLocation in interface ExecutableSectionpublic void execute(ClientYamlTestExecutionContext executionContext) throws java.io.IOException
ExecutableSectionexecute in interface ExecutableSectionjava.io.IOException