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
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(ClientYamlTestSection o)
boolean
equals(java.lang.Object o)
java.util.List<ExecutableSection>
getExecutableSections()
XContentLocation
getLocation()
java.lang.String
getName()
SkipSection
getSkipSection()
int
hashCode()
static ClientYamlTestSection
parse(XContentParser parser)
-
-
-
Method Detail
-
parse
public static ClientYamlTestSection parse(XContentParser parser) throws java.io.IOException
- Throws:
java.io.IOException
-
getLocation
public XContentLocation getLocation()
-
getName
public java.lang.String getName()
-
getSkipSection
public SkipSection getSkipSection()
-
getExecutableSections
public java.util.List<ExecutableSection> 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
public int compareTo(ClientYamlTestSection o)
- Specified by:
compareTo
in interfacejava.lang.Comparable<ClientYamlTestSection>
-
-