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
ALL
          All templates
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
SELFEXECUTABLE
          templates that have been registered/created by the owner that can be used to deploy a new VM - 3.x filter value.
SHAREDEXECUTABLE
          templates that have been granted to the calling user by another user
 
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


SELFEXECUTABLE

public static final TemplateFilter SELFEXECUTABLE
templates that have been registered/created by the owner that can be used to deploy a new VM - 3.x filter value.


SHAREDEXECUTABLE

public static final TemplateFilter SHAREDEXECUTABLE
templates that have been granted to the calling user by another user


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


ALL

public static final TemplateFilter ALL
All templates

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-2013 jclouds. All Rights Reserved.