org.jclouds.blobstore.attr
Enum FolderCapability

java.lang.Object
  extended by java.lang.Enum<FolderCapability>
      extended by org.jclouds.blobstore.attr.FolderCapability
All Implemented Interfaces:
Serializable, Comparable<FolderCapability>

public enum FolderCapability
extends Enum<FolderCapability>

Represents the capabilities of a BlobStore

Author:
Adrian Cole

Enum Constant Summary
ETAG
          containers have an etag associated with them
ID
          containers have a system generated ID associated with them
LAST_MODIFIED
          container will have last modified date associated with them
METADATA
          containers can have key-value pairs associated with them
MILLISECOND_PRECISION
          timestamps are precise in milliseconds (as opposed to seconds)
PUBLIC
          possible to expose a container to anonymous access
RECURSIVE_DELETE
          deletion of a container is recursive
ROOTCONTAINER
          There's a container that exists at the root of the service
SIZE
          container size in bytes is exposed by service listing
SKIP_CREATE_CONTAINER
          Containers (and subcontainers) are created implicitly
 
Method Summary
static FolderCapability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static FolderCapability[] 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

RECURSIVE_DELETE

public static final FolderCapability RECURSIVE_DELETE
deletion of a container is recursive


ROOTCONTAINER

public static final FolderCapability ROOTCONTAINER
There's a container that exists at the root of the service


SKIP_CREATE_CONTAINER

public static final FolderCapability SKIP_CREATE_CONTAINER
Containers (and subcontainers) are created implicitly


METADATA

public static final FolderCapability METADATA
containers can have key-value pairs associated with them


ETAG

public static final FolderCapability ETAG
containers have an etag associated with them


ID

public static final FolderCapability ID
containers have a system generated ID associated with them


LAST_MODIFIED

public static final FolderCapability LAST_MODIFIED
container will have last modified date associated with them


MILLISECOND_PRECISION

public static final FolderCapability MILLISECOND_PRECISION
timestamps are precise in milliseconds (as opposed to seconds)


SIZE

public static final FolderCapability SIZE
container size in bytes is exposed by service listing


PUBLIC

public static final FolderCapability PUBLIC
possible to expose a container to anonymous access

Method Detail

values

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

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

valueOf

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


Copyright © 2009-2011 jclouds. All Rights Reserved.