org.starhope.appius.mb
Enum MBGoal

java.lang.Object
  extended by java.lang.Enum<MBGoal>
      extended by org.starhope.appius.mb.MBGoal
All Implemented Interfaces:
Serializable, Comparable<MBGoal>

public enum MBGoal
extends Enum<MBGoal>

WRITEME: Document this type.

Author:
brpocock@star-hope.org

Enum Constant Summary
CHANGE_PASSWORD
          User wants to change their password (as a player)
CHOOSE_ACCOUNT_TO_PAY
           
LOG_IN_AS_PARENT
          User wants to log in (as a parent)
LOG_IN_SELF
          User wants to log in themself (as a player)
PAY_ACCOUNT
          User wants to pay for a membership enrolment
REGISTER_SELF_PARENT
          User wants to register themself as a parent
REGISTER_USER
          User wants to register a new account for themself or their child
SET_RESPONSIBLE_MAIL
           
 
Method Summary
static MBGoal valueOf(String name)
          Returns the enum constant of this type with the specified name.
static MBGoal[] values()
          Returns an array containing the constants of this enum type, in the order they are declared.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

REGISTER_USER

public static final MBGoal REGISTER_USER
User wants to register a new account for themself or their child


REGISTER_SELF_PARENT

public static final MBGoal REGISTER_SELF_PARENT
User wants to register themself as a parent


PAY_ACCOUNT

public static final MBGoal PAY_ACCOUNT
User wants to pay for a membership enrolment


CHANGE_PASSWORD

public static final MBGoal CHANGE_PASSWORD
User wants to change their password (as a player)


LOG_IN_SELF

public static final MBGoal LOG_IN_SELF
User wants to log in themself (as a player)


LOG_IN_AS_PARENT

public static final MBGoal LOG_IN_AS_PARENT
User wants to log in (as a parent)


CHOOSE_ACCOUNT_TO_PAY

public static final MBGoal CHOOSE_ACCOUNT_TO_PAY

SET_RESPONSIBLE_MAIL

public static final MBGoal SET_RESPONSIBLE_MAIL
Method Detail

values

public static MBGoal[] 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 (MBGoal c : MBGoal.values())
    System.out.println(c);

Returns:
an array containing the constants of this enum type, in the order they are declared

valueOf

public static MBGoal 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 name
NullPointerException - if the argument is null