public enum BatchStrategy extends 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(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(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic BatchManager instance(EnvironmentVariables environmentVariables) throws NoSuchMethodException, InvocationTargetException, IllegalAccessException, InstantiationException
Copyright © 2011–2014 Wakaleo Consulting. All rights reserved.