Package com.mojang.realmsclient.gui
Enum RealmsDataFetcher.Task
- java.lang.Object
-
- java.lang.Enum<RealmsDataFetcher.Task>
-
- com.mojang.realmsclient.gui.RealmsDataFetcher.Task
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RealmsDataFetcher.Task>
- Enclosing class:
- RealmsDataFetcher
public static enum RealmsDataFetcher.Task extends java.lang.Enum<RealmsDataFetcher.Task>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description LIVE_STATS
PENDING_INVITE
SERVER_LIST
TRIAL_AVAILABLE
UNREAD_NEWS
-
Constructor Summary
Constructors Modifier Constructor Description private
Task()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RealmsDataFetcher.Task
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RealmsDataFetcher.Task[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SERVER_LIST
public static final RealmsDataFetcher.Task SERVER_LIST
-
PENDING_INVITE
public static final RealmsDataFetcher.Task PENDING_INVITE
-
TRIAL_AVAILABLE
public static final RealmsDataFetcher.Task TRIAL_AVAILABLE
-
LIVE_STATS
public static final RealmsDataFetcher.Task LIVE_STATS
-
UNREAD_NEWS
public static final RealmsDataFetcher.Task UNREAD_NEWS
-
-
Method Detail
-
values
public static RealmsDataFetcher.Task[] 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 (RealmsDataFetcher.Task c : RealmsDataFetcher.Task.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RealmsDataFetcher.Task 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
-
-