org.jclouds.blobstore.attr
Enum ContainerVisibilities

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

public enum ContainerVisibilities
extends Enum<ContainerVisibilities>

Represents the ways a container is scoped

Author:
Adrian Cole

Enum Constant Summary
ACCOUNT
          Container namespace is shared within an identity and therefore all containers are deletable by the identity.
PUBLIC
          Container namespace is shared by the general public and therefore has highest likelihood of collision.
 
Method Summary
static ContainerVisibilities valueOf(String name)
          Returns the enum constant of this type with the specified name.
static ContainerVisibilities[] 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

PUBLIC

public static final ContainerVisibilities PUBLIC
Container namespace is shared by the general public and therefore has highest likelihood of collision. Containers created in public namespace are not deletable by other identitys.


ACCOUNT

public static final ContainerVisibilities ACCOUNT
Container namespace is shared within an identity and therefore all containers are deletable by the identity.

Method Detail

values

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

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

valueOf

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