Class SetupSection
java.lang.Object
org.opensearch.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 SetupSectionEMPTY -
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()SkipSectiongetSkipSection()booleanisEmpty()static SetupSectionparse(org.opensearch.common.xcontent.XContentParser parser)
-
Field Details
-
Constructor Details
-
Method Details
-
parse
public static SetupSection parse(org.opensearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
getSkipSection
-
getExecutableSections
-
isEmpty
public boolean isEmpty()
-