org.jclouds.blobstore.attr
Enum BlobCapability

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

public enum BlobCapability
extends Enum<BlobCapability>

Represents the capabilities of a BlobStore

Author:
Adrian Cole

Enum Constant Summary
CHUNKED_ENCODING
          Enable "chunked"/"streamed" data, where the size needn't be known in advance.
CONDITIONAL_DATE
          receive pieces of a blob via Content-Range header
CONDITIONAL_MATCH
          supports
ETAG
          blobs have an etag associated with them
ETAG_EQUALS_MD5
          etag is the same value as the MD5 of the object
GET_RANGE
          receive pieces of a blob via Content-Range header
ID
          blobs have a system generated ID associated with them
LAST_MODIFIED
          blobs will have last modified date associated with them
MD5
          blobstore stores Content-MD5 header
METADATA
          blobs can have key-value pairs associated with them
MILLISECOND_PRECISION
          timestamps are precise in milliseconds (as opposed to seconds)
PUBLIC
          possible to expose blobs to anonymous access
PUT_RANGE
          replace pieces of a blob via Content-Range header
SIZE
          blob size in bytes is exposed by service listing
 
Method Summary
static BlobCapability valueOf(String name)
          Returns the enum constant of this type with the specified name.
static BlobCapability[] 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

CONDITIONAL_MATCH

public static final BlobCapability CONDITIONAL_MATCH
supports


CONDITIONAL_DATE

public static final BlobCapability CONDITIONAL_DATE
receive pieces of a blob via Content-Range header


GET_RANGE

public static final BlobCapability GET_RANGE
receive pieces of a blob via Content-Range header


PUT_RANGE

public static final BlobCapability PUT_RANGE
replace pieces of a blob via Content-Range header


CHUNKED_ENCODING

public static final BlobCapability CHUNKED_ENCODING
Enable "chunked"/"streamed" data, where the size needn't be known in advance.


METADATA

public static final BlobCapability METADATA
blobs can have key-value pairs associated with them


ETAG

public static final BlobCapability ETAG
blobs have an etag associated with them


ID

public static final BlobCapability ID
blobs have a system generated ID associated with them


MD5

public static final BlobCapability MD5
blobstore stores Content-MD5 header


ETAG_EQUALS_MD5

public static final BlobCapability ETAG_EQUALS_MD5
etag is the same value as the MD5 of the object


LAST_MODIFIED

public static final BlobCapability LAST_MODIFIED
blobs will have last modified date associated with them


MILLISECOND_PRECISION

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


SIZE

public static final BlobCapability SIZE
blob size in bytes is exposed by service listing


PUBLIC

public static final BlobCapability PUBLIC
possible to expose blobs to anonymous access

Method Detail

values

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

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

valueOf

public static BlobCapability 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.