public static enum VersionChecker.Status extends java.lang.Enum<VersionChecker.Status>
Enum Constant and Description |
---|
AHEAD |
BETA |
BETA_OUTDATED |
FAILED |
OUTDATED |
PENDING |
UP_TO_DATE |
Modifier and Type | Field and Description |
---|---|
(package private) boolean |
animated |
(package private) boolean |
draw |
(package private) int |
sheetOffset |
Modifier and Type | Method and Description |
---|---|
int |
getSheetOffset() |
boolean |
isAnimated() |
boolean |
shouldDraw() |
static VersionChecker.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static VersionChecker.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final VersionChecker.Status PENDING
public static final VersionChecker.Status FAILED
public static final VersionChecker.Status UP_TO_DATE
public static final VersionChecker.Status OUTDATED
public static final VersionChecker.Status AHEAD
public static final VersionChecker.Status BETA
public static final VersionChecker.Status BETA_OUTDATED
final int sheetOffset
final boolean draw
final boolean animated
public static VersionChecker.Status[] values()
for (VersionChecker.Status c : VersionChecker.Status.values()) System.out.println(c);
public static VersionChecker.Status 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 int getSheetOffset()
public boolean shouldDraw()
public boolean isAnimated()