Class SetupSection
- java.lang.Object
-
- org.elasticsearch.test.rest.yaml.section.SetupSection
-
public class SetupSection extends java.lang.ObjectRepresents a setup section. Holds a skip section and multiple do sections.
-
-
Field Summary
Fields Modifier and Type Field Description static SetupSectionEMPTY
-
Method Summary
Modifier and Type Method Description java.util.List<ExecutableSection>getExecutableSections()SkipSectiongetSkipSection()booleanisEmpty()static SetupSectionparse(XContentParser parser)
-
-
-
Field Detail
-
EMPTY
public static final SetupSection EMPTY
-
-
Method Detail
-
parse
public static SetupSection parse(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
getSkipSection
public SkipSection getSkipSection()
-
getExecutableSections
public java.util.List<ExecutableSection> getExecutableSections()
-
isEmpty
public boolean isEmpty()
-
-