Class SkipSection
java.lang.Object
org.opensearch.test.rest.yaml.section.SkipSection
Represents a skip section that tells whether a specific test section or suite needs to be skipped
based on:
- the opensearch version the tests are running against
- a specific test feature required that might not be implemented yet by the runner
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.opensearch.VersiongetSkipMessage(String description) org.opensearch.VersionbooleanisEmpty()booleanstatic SkipSectionparse(org.opensearch.core.xcontent.XContentParser parser) static SkipSectionparseIfNext(org.opensearch.core.xcontent.XContentParser parser) booleanskip(org.opensearch.Version currentVersion)
-
Field Details
-
EMPTY
-
-
Constructor Details
-
SkipSection
-
-
Method Details
-
parseIfNext
public static SkipSection parseIfNext(org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
parse
public static SkipSection parse(org.opensearch.core.xcontent.XContentParser parser) throws IOException - Throws:
IOException
-
getLowerVersion
public org.opensearch.Version getLowerVersion() -
getUpperVersion
public org.opensearch.Version getUpperVersion() -
getFeatures
-
getReason
-
skip
public boolean skip(org.opensearch.Version currentVersion) -
isVersionCheck
public boolean isVersionCheck() -
isEmpty
public boolean isEmpty() -
getSkipMessage
-