Enum Class UpdateChecker.UpdateCheckerStatus
java.lang.Object
java.lang.Enum<UpdateChecker.UpdateCheckerStatus>
com.github.retrooper.packetevents.util.updatechecker.UpdateChecker.UpdateCheckerStatus
- All Implemented Interfaces:
Serializable
,Comparable<UpdateChecker.UpdateCheckerStatus>
,Constable
- Enclosing class:
UpdateChecker
public static enum UpdateChecker.UpdateCheckerStatus
extends Enum<UpdateChecker.UpdateCheckerStatus>
Result of an update check.
- Since:
- 1.8
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionFailed to check for an update.Your build is outdated, an update is available.You are on a development build.Your build is up-to-date. -
Method Summary
Modifier and TypeMethodDescriptionReturns the enum constant of this class with the specified name.static UpdateChecker.UpdateCheckerStatus[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
OUTDATED
Your build is outdated, an update is available. -
PRE_RELEASE
You are on a development build. Not on the latest stable release(not necessarily bad). -
UP_TO_DATE
Your build is up-to-date. Latest stable release. -
FAILED
Failed to check for an update. There might be an issue with your connection.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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:
IllegalArgumentException
- if this enum class has no constant with the specified nameNullPointerException
- if the argument is null
-