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 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

      public SkipSection getSkipSection()
    • getExecutableSections

      public java.util.List<ExecutableSection> getExecutableSections()
    • equals

      public boolean equals​(java.lang.Object o)
      Overrides:
      equals in class java.lang.Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class java.lang.Object
    • compareTo

      public int compareTo​(ClientYamlTestSection o)
      Specified by:
      compareTo in interface java.lang.Comparable<ClientYamlTestSection>