org.jclouds.blobstore.attr
Enum ContainerCapability

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

public enum ContainerCapability
extends Enum<ContainerCapability>

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 ContainerCapability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContainerCapability[] 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 ContainerCapability RECURSIVE_DELETE
deletion of a container is recursive


ROOTCONTAINER

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


SKIP_CREATE_CONTAINER

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


METADATA

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


ETAG

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


ID

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


LAST_MODIFIED

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


MILLISECOND_PRECISION

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


SIZE

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


PUBLIC

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

Method Detail

values

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

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

valueOf

public static ContainerCapability 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-2012 jclouds. All Rights Reserved.