Package net.minecraftforge.fml
Enum VersionChecker.Status
- java.lang.Object
-
- java.lang.Enum<VersionChecker.Status>
-
- net.minecraftforge.fml.VersionChecker.Status
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<VersionChecker.Status>
- Enclosing class:
- VersionChecker
public static enum VersionChecker.Status extends java.lang.Enum<VersionChecker.Status>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AHEAD
BETA
BETA_OUTDATED
FAILED
OUTDATED
PENDING
UP_TO_DATE
-
Field Summary
Fields Modifier and Type Field Description (package private) boolean
animated
(package private) boolean
draw
(package private) int
sheetOffset
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method 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.
-
-
-
Enum Constant Detail
-
PENDING
public static final VersionChecker.Status PENDING
-
FAILED
public static final VersionChecker.Status FAILED
-
UP_TO_DATE
public static final VersionChecker.Status UP_TO_DATE
-
OUTDATED
public static final VersionChecker.Status OUTDATED
-
AHEAD
public static final VersionChecker.Status AHEAD
-
BETA
public static final VersionChecker.Status BETA
-
BETA_OUTDATED
public static final VersionChecker.Status BETA_OUTDATED
-
-
Method Detail
-
values
public static VersionChecker.Status[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (VersionChecker.Status c : VersionChecker.Status.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static VersionChecker.Status valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getSheetOffset
public int getSheetOffset()
-
shouldDraw
public boolean shouldDraw()
-
isAnimated
public boolean isAnimated()
-
-