public enum AgentMode extends Enum<AgentMode>
Enum Constant and Description |
---|
ACTIVE
Indicates that the agent is actively using the version.
|
PASSIVE
Indicates that the agent is passive and is not using the version.
|
Modifier and Type | Method and Description |
---|---|
static AgentMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentMode ACTIVE
public static final AgentMode PASSIVE
public static AgentMode[] values()
for (AgentMode c : AgentMode.values()) System.out.println(c);
public static AgentMode 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 © 2013. All Rights Reserved.