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.
-
Constructor Summary
Constructors Constructor Description ClientYamlTestSection(org.elasticsearch.common.xcontent.XContentLocation location, java.lang.String name, SkipSection skipSection, java.util.List<ExecutableSection> executableSections)
-
Method Summary
Modifier and Type Method Description int
compareTo(ClientYamlTestSection o)
boolean
equals(java.lang.Object o)
java.util.List<ExecutableSection>
getExecutableSections()
org.elasticsearch.common.xcontent.XContentLocation
getLocation()
java.lang.String
getName()
SkipSection
getSkipSection()
int
hashCode()
static ClientYamlTestSection
parse(org.elasticsearch.common.xcontent.XContentParser parser)
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
ClientYamlTestSection
public ClientYamlTestSection(org.elasticsearch.common.xcontent.XContentLocation location, java.lang.String name, SkipSection skipSection, java.util.List<ExecutableSection> executableSections)
-
-
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:
equals
in classjava.lang.Object
-
hashCode
public int hashCode()- Overrides:
hashCode
in classjava.lang.Object
-
compareTo
- Specified by:
compareTo
in interfacejava.lang.Comparable<ClientYamlTestSection>
-