org.hackystat.sensorbase.client
Enum SensorBaseClient.InvitationReply

java.lang.Object
  extended by java.lang.Enum<SensorBaseClient.InvitationReply>
      extended by org.hackystat.sensorbase.client.SensorBaseClient.InvitationReply
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<SensorBaseClient.InvitationReply>
Enclosing class:
SensorBaseClient

public static enum SensorBaseClient.InvitationReply
extends java.lang.Enum<SensorBaseClient.InvitationReply>

The possible responses to a Project invitation.


Enum Constant Summary
ACCEPT
           
DECLINE
           
 
Method Summary
static SensorBaseClient.InvitationReply valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static SensorBaseClient.InvitationReply[] 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

ACCEPT

public static final SensorBaseClient.InvitationReply ACCEPT

DECLINE

public static final SensorBaseClient.InvitationReply DECLINE
Method Detail

values

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

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

valueOf

public static SensorBaseClient.InvitationReply 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 name
java.lang.NullPointerException - if the argument is null