public enum InstallationMode extends Enum<InstallationMode>
| Enum Constant and Description |
|---|
LOCAL
Denotes a plugin installed locally to the host application.
|
REMOTE
Denotes a plugin installed from a remote plugin.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getKey() |
static com.atlassian.fugue.Option<InstallationMode> |
of(String name) |
static InstallationMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InstallationMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InstallationMode REMOTE
public static final InstallationMode LOCAL
public static InstallationMode[] values()
for (InstallationMode c : InstallationMode.values()) System.out.println(c);
public static InstallationMode 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 getKey()
public static com.atlassian.fugue.Option<InstallationMode> of(String name)
Copyright © 2014 Atlassian. All rights reserved.