public enum InvocationStrategy extends Enum<InvocationStrategy>
Enum Constant and Description |
---|
FIRST_TO_LAST
Start with the first instance and invoke it till it cannot be invoked any
more.
|
LAST_TO_FIRST
Start with the last instance and invoke it till it cannot be invoked any
more.
|
ROUND_ROBIN
Invoke the next instance.
|
Modifier and Type | Method and Description |
---|---|
static InvocationStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InvocationStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InvocationStrategy ROUND_ROBIN
public static final InvocationStrategy FIRST_TO_LAST
public static final InvocationStrategy LAST_TO_FIRST
public static InvocationStrategy[] values()
for (InvocationStrategy c : InvocationStrategy.values()) System.out.println(c);
public static InvocationStrategy 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 nullCopyright © 2017. All rights reserved.