org.dasein.cloud.google.storage
Enum StorageAction
java.lang.Object
java.lang.Enum<StorageAction>
org.dasein.cloud.google.storage.StorageAction
- All Implemented Interfaces:
- Serializable, Comparable<StorageAction>
public enum StorageAction
- extends Enum<StorageAction>
|
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. |
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
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.