@PublicApi public enum AgentType extends Enum<AgentType>
Enum Constant and Description |
---|
ELASTIC
Remote Elastic Agent
|
LOCAL |
REMOTE
Remote Agent
|
Modifier and Type | Method and Description |
---|---|
String |
getIdentifier() |
static AgentType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AgentType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AgentType LOCAL
public static final AgentType REMOTE
public static final AgentType ELASTIC
public static AgentType[] values()
for (AgentType c : AgentType.values()) System.out.println(c);
public static AgentType 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 String getIdentifier()
Copyright © 2019 Atlassian Software Systems Pty Ltd. All rights reserved.