org.dasein.cloud.google.storage
Enum StorageAction

java.lang.Object
  extended by java.lang.Enum<StorageAction>
      extended by org.dasein.cloud.google.storage.StorageAction
All Implemented Interfaces:
Serializable, Comparable<StorageAction>

public enum StorageAction
extends Enum<StorageAction>


Enum Constant Summary
COPY_OBJECT
           
CREATE_BUCKET
           
DELETE_BUCKET
           
DELETE_OBJECT
           
GET_ACL
           
GET_OBJECT
           
LIST_BUCKETS
           
LIST_CONTENTS
           
LOCATE_BUCKET
           
OBJECT_EXISTS
           
PUT_OBJECT
           
SET_ACL
           
 
Method Summary
 org.apache.commons.httpclient.HttpMethod getMethod(String url)
           
static StorageAction valueOf(String name)
          Returns the enum constant of this type with the specified name.
static StorageAction[] 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

CREATE_BUCKET

public static final StorageAction CREATE_BUCKET

DELETE_BUCKET

public static final StorageAction DELETE_BUCKET

LIST_BUCKETS

public static final StorageAction LIST_BUCKETS

LIST_CONTENTS

public static final StorageAction LIST_CONTENTS

LOCATE_BUCKET

public static final StorageAction LOCATE_BUCKET

COPY_OBJECT

public static final StorageAction COPY_OBJECT

OBJECT_EXISTS

public static final StorageAction OBJECT_EXISTS

GET_OBJECT

public static final StorageAction GET_OBJECT

PUT_OBJECT

public static final StorageAction PUT_OBJECT

DELETE_OBJECT

public static final StorageAction DELETE_OBJECT

GET_ACL

public static final StorageAction GET_ACL

SET_ACL

public static final StorageAction SET_ACL
Method Detail

values

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

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

valueOf

public static StorageAction 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

getMethod

public org.apache.commons.httpclient.HttpMethod getMethod(String url)


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.