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()XContentLocationgetLocation()java.lang.StringgetName()SkipSectiongetSkipSection()inthashCode()static ClientYamlTestSectionparse(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:
equalsin classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCodein classjava.lang.Object
-
compareTo
public int compareTo(ClientYamlTestSection o)
- Specified by:
compareToin interfacejava.lang.Comparable<ClientYamlTestSection>
-
-