public enum AddonStatus extends java.lang.Enum<AddonStatus>
Enum Constant and Description |
---|
INSTALLED
Indicates that the addon is installed on the users system
|
NOT_INSTALLED
Indicates that the addon is not installed on the users system
|
OUT_OF_DATE
Indicates that the plugin is instlled, but their is a new version avaliable
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDisplayName()
Used to get the display name of the status
|
static AddonStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static AddonStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddonStatus INSTALLED
public static final AddonStatus NOT_INSTALLED
public static final AddonStatus OUT_OF_DATE
public static AddonStatus[] values()
for (AddonStatus c : AddonStatus.values()) System.out.println(c);
public static AddonStatus valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getDisplayName()