Enum DiscordConfig.ElapsedTimeType
- java.lang.Object
-
- java.lang.Enum<DiscordConfig.ElapsedTimeType>
-
- net.runelite.client.plugins.discord.DiscordConfig.ElapsedTimeType
-
- All Implemented Interfaces:
Serializable
,Comparable<DiscordConfig.ElapsedTimeType>
- Enclosing interface:
- DiscordConfig
public static enum DiscordConfig.ElapsedTimeType extends Enum<DiscordConfig.ElapsedTimeType>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description String
toString()
static DiscordConfig.ElapsedTimeType
valueOf(String name)
Returns the enum constant of this type with the specified name.static DiscordConfig.ElapsedTimeType[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TOTAL
public static final DiscordConfig.ElapsedTimeType TOTAL
-
ACTIVITY
public static final DiscordConfig.ElapsedTimeType ACTIVITY
-
HIDDEN
public static final DiscordConfig.ElapsedTimeType HIDDEN
-
-
Method Detail
-
values
public static DiscordConfig.ElapsedTimeType[] 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 (DiscordConfig.ElapsedTimeType c : DiscordConfig.ElapsedTimeType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DiscordConfig.ElapsedTimeType valueOf(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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
toString
public String toString()
- Overrides:
toString
in classEnum<DiscordConfig.ElapsedTimeType>
-
-