public enum AgentCacheMode extends Enum<AgentCacheMode>
Modifier and Type | Method and Description |
---|---|
static AgentCacheMode |
getByValue(int value) |
int |
getValue() |
static AgentCacheMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentCacheMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentCacheMode DEFAULT
public static final AgentCacheMode ON
public static final AgentCacheMode OFF
public static AgentCacheMode[] values()
for (AgentCacheMode c : AgentCacheMode.values()) System.out.println(c);
public static AgentCacheMode 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 int getValue()
public static AgentCacheMode getByValue(int value)
value
- Copyright © 2016. All rights reserved.