org.jclouds.cloudstack.domain
Enum TemplateFilter

java.lang.Object
  extended by java.lang.Enum<TemplateFilter>
      extended by org.jclouds.cloudstack.domain.TemplateFilter
All Implemented Interfaces:
Serializable, Comparable<TemplateFilter>

public enum TemplateFilter
extends Enum<TemplateFilter>

Author:
Adrian Cole
See Also:
TemplateClient.listTemplates()

Enum Constant Summary
COMMUNITY
          templates that are public
EXECUTABLE
          all templates that can be used to deploy a new VM
FEATURED
          templates that are featured and are public
SELF
          templates that have been registered/created by the owner
SELF_EXECUTABLE
          templates that have been registered/created by the owner that can be used to deploy a new VM
 
Method Summary
 String toString()
           
static TemplateFilter valueOf(String name)
          Returns the enum constant of this type with the specified name.
static TemplateFilter[] 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, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

Enum Constant Detail

FEATURED

public static final TemplateFilter FEATURED
templates that are featured and are public


SELF

public static final TemplateFilter SELF
templates that have been registered/created by the owner


SELF_EXECUTABLE

public static final TemplateFilter SELF_EXECUTABLE
templates that have been registered/created by the owner that can be used to deploy a new VM


EXECUTABLE

public static final TemplateFilter EXECUTABLE
all templates that can be used to deploy a new VM


COMMUNITY

public static final TemplateFilter COMMUNITY
templates that are public

Method Detail

values

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

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

valueOf

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

toString

public String toString()
Overrides:
toString in class Enum<TemplateFilter>


Copyright © 2009-2012 jclouds. All Rights Reserved.