Class SetupSection
java.lang.Object
org.elasticsearch.test.rest.yaml.section.SetupSection
public class SetupSection
extends java.lang.Object
Represents a setup section. Holds a skip section and multiple do sections.
-
Field Summary
Fields Modifier and Type Field Description static SetupSection
EMPTY
-
Constructor Summary
Constructors Constructor Description SetupSection(SkipSection skipSection, java.util.List<ExecutableSection> executableSections)
-
Method Summary
Modifier and Type Method Description java.util.List<ExecutableSection>
getExecutableSections()
SkipSection
getSkipSection()
boolean
isEmpty()
static SetupSection
parse(org.elasticsearch.common.xcontent.XContentParser parser)
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
EMPTY
-
-
Constructor Details
-
SetupSection
-
-
Method Details
-
parse
public static SetupSection parse(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
getSkipSection
-
getExecutableSections
-
isEmpty
public boolean isEmpty()
-