public enum BatchStrategy extends java.lang.Enum<BatchStrategy>
Enum Constant and Description |
---|
DIVIDE_BY_TEST_COUNT |
DIVIDE_EQUALLY |
Modifier and Type | Method and Description |
---|---|
BatchManager |
instance(EnvironmentVariables environmentVariables) |
static BatchStrategy |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static BatchStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final BatchStrategy DIVIDE_EQUALLY
public static final BatchStrategy DIVIDE_BY_TEST_COUNT
public static BatchStrategy[] values()
for (BatchStrategy c : BatchStrategy.values()) System.out.println(c);
public static BatchStrategy valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic BatchManager instance(EnvironmentVariables environmentVariables) throws java.lang.NoSuchMethodException, java.lang.reflect.InvocationTargetException, java.lang.IllegalAccessException, java.lang.InstantiationException
java.lang.NoSuchMethodException
java.lang.reflect.InvocationTargetException
java.lang.IllegalAccessException
java.lang.InstantiationException