Package org.jclouds.cloudstack.domain
Enum TemplateFilter
- java.lang.Object
-
- java.lang.Enum<TemplateFilter>
-
- org.jclouds.cloudstack.domain.TemplateFilter
-
- All Implemented Interfaces:
Serializable,Comparable<TemplateFilter>
public enum TemplateFilter extends Enum<TemplateFilter>
- See Also:
TemplateApi#listTemplates
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ALLAll templatesCOMMUNITYtemplates that are publicEXECUTABLEall templates that can be used to deploy a new VMFEATUREDtemplates that are featured and are publicSELFtemplates that have been registered/created by the ownerSELF_EXECUTABLEtemplates that have been registered/created by the owner that can be used to deploy a new VMSELFEXECUTABLEtemplates that have been registered/created by the owner that can be used to deploy a new VM - 3.x filter value.SHAREDEXECUTABLEtemplates that have been granted to the calling user by another user
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringtoString()static TemplateFiltervalueOf(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.
-
-
-
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 nameNullPointerException- if the argument is null
-
toString
public String toString()
- Overrides:
toStringin classEnum<TemplateFilter>
-
-