org.apache.shindig.social.core.oauth2
Enum OAuth2Client.Flow

java.lang.Object
  extended by java.lang.Enum<OAuth2Client.Flow>
      extended by org.apache.shindig.social.core.oauth2.OAuth2Client.Flow
All Implemented Interfaces:
java.io.Serializable, java.lang.Comparable<OAuth2Client.Flow>
Enclosing class:
OAuth2Client

public static enum OAuth2Client.Flow
extends java.lang.Enum<OAuth2Client.Flow>


Enum Constant Summary
AUTHORIZATION_CODE
           
CLIENT_CREDENTIALS
           
IMPLICIT
           
 
Method Summary
 java.lang.String toString()
           
static OAuth2Client.Flow valueOf(java.lang.String name)
          Returns the enum constant of this type with the specified name.
static OAuth2Client.Flow[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

CLIENT_CREDENTIALS

public static final OAuth2Client.Flow CLIENT_CREDENTIALS

AUTHORIZATION_CODE

public static final OAuth2Client.Flow AUTHORIZATION_CODE

IMPLICIT

public static final OAuth2Client.Flow IMPLICIT
Method Detail

values

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

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

valueOf

public static OAuth2Client.Flow 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

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Enum<OAuth2Client.Flow>


Copyright © 2007-2012 The Apache Software Foundation. All Rights Reserved.