Package org.elasticsearch.test
Enum ESIntegTestCase.Scope
- java.lang.Object
-
- java.lang.Enum<ESIntegTestCase.Scope>
-
- org.elasticsearch.test.ESIntegTestCase.Scope
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<ESIntegTestCase.Scope>
- Enclosing class:
- ESIntegTestCase
public static enum ESIntegTestCase.Scope extends java.lang.Enum<ESIntegTestCase.Scope>
The scope of a test cluster used together withESIntegTestCase.ClusterScope
annotations onESIntegTestCase
subclasses.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static ESIntegTestCase.Scope
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ESIntegTestCase.Scope[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SUITE
public static final ESIntegTestCase.Scope SUITE
A cluster shared across all method in a single test suite
-
TEST
public static final ESIntegTestCase.Scope TEST
A test exclusive test cluster
-
-
Method Detail
-
values
public static ESIntegTestCase.Scope[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ESIntegTestCase.Scope c : ESIntegTestCase.Scope.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ESIntegTestCase.Scope valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-