Enum Class GoalType
- All Implemented Interfaces:
Serializable
,Comparable<GoalType>
,Constable
The type of goal.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantDescriptionThe goal is to increase followers.The goal is to increase subscriptions.The goal is to increase subscriptions.The goal is to increase subscriptions.The goal is to increase subscriptions. -
Method Summary
-
Enum Constant Details
-
FOLLOWERS
The goal is to increase followers. -
SUBSCRIPTIONS
The goal is to increase subscriptions. This type shows the net increase or decrease in subscriptions. -
NEW_SUBSCRIPTIONS
The goal is to increase subscriptions. This type shows only the net increase in subscriptions (it does not account for users that stopped subscribing since the goal's inception). -
SUB_COUNT
The goal is to increase subscriptions. This type shows the net increase or decrease in the number of subscriptions. -
NEW_SUB_COUNT
The goal is to increase subscriptions. This type shows only the net increase in the number of subscriptions (it does not account for users that unsubscribed since the goal started).
-
-
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
-