Class ClientYamlTestSection
java.lang.Object
org.opensearch.test.rest.yaml.section.ClientYamlTestSection
- All Implemented Interfaces:
Comparable<ClientYamlTestSection>
Represents a test section, which is composed of a skip section and multiple executable sections.
-
Constructor Summary
ConstructorsConstructorDescriptionClientYamlTestSection(org.opensearch.core.xcontent.XContentLocation location, String name, SkipSection skipSection, List<ExecutableSection> executableSections) -
Method Summary
Modifier and TypeMethodDescriptionintbooleanorg.opensearch.core.xcontent.XContentLocationgetName()inthashCode()static ClientYamlTestSectionparse(org.opensearch.core.xcontent.XContentParser parser)
-
Constructor Details
-
ClientYamlTestSection
public ClientYamlTestSection(org.opensearch.core.xcontent.XContentLocation location, String name, SkipSection skipSection, List<ExecutableSection> executableSections)
-
-
Method Details
-
parse
public static ClientYamlTestSection parse(org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
getLocation
public org.opensearch.core.xcontent.XContentLocation getLocation() -
getName
-
getSkipSection
-
getExecutableSections
-
equals
-
hashCode
-
compareTo
- Specified by:
compareToin interfaceComparable<ClientYamlTestSection>
-