Class ClientYamlTestSection
java.lang.Object
org.elasticsearch.test.rest.yaml.section.ClientYamlTestSection
- All Implemented Interfaces:
java.lang.Comparable<ClientYamlTestSection>
public class ClientYamlTestSection extends java.lang.Object implements java.lang.Comparable<ClientYamlTestSection>
Represents a test section, which is composed of a skip section and multiple executable sections.
-
Method Summary
Modifier and Type Method Description intcompareTo(ClientYamlTestSection o)booleanequals(java.lang.Object o)java.util.List<ExecutableSection>getExecutableSections()org.elasticsearch.common.xcontent.XContentLocationgetLocation()java.lang.StringgetName()SkipSectiongetSkipSection()inthashCode()static ClientYamlTestSectionparse(org.elasticsearch.common.xcontent.XContentParser parser)
-
Method Details
-
parse
public static ClientYamlTestSection parse(org.elasticsearch.common.xcontent.XContentParser parser) throws java.io.IOException- Throws:
java.io.IOException
-
getLocation
public org.elasticsearch.common.xcontent.XContentLocation getLocation() -
getName
public java.lang.String getName() -
getSkipSection
-
getExecutableSections
-
equals
public boolean equals(java.lang.Object o)- Overrides:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCodein classjava.lang.Object
-
compareTo
- Specified by:
compareToin interfacejava.lang.Comparable<ClientYamlTestSection>
-