Merge pull request #891 from abayer/master

Tweaks to CloudStack TemplateFilter enum
This commit is contained in:
Adrian Cole 2012-10-10 03:18:18 -07:00
commit 649c8f88e2
1 changed files with 14 additions and 1 deletions

View File

@ -40,6 +40,15 @@ public enum TemplateFilter {
* to deploy a new VM * to deploy a new VM
*/ */
SELF_EXECUTABLE, SELF_EXECUTABLE,
/**
* templates that have been registered/created by the owner that can be used
* to deploy a new VM - 3.x filter value.
*/
SELFEXECUTABLE,
/**
* templates that have been granted to the calling user by another user
*/
SHAREDEXECUTABLE,
/** /**
* all templates that can be used to deploy a new VM * all templates that can be used to deploy a new VM
*/ */
@ -47,7 +56,11 @@ public enum TemplateFilter {
/** /**
* templates that are public * templates that are public
*/ */
COMMUNITY; COMMUNITY,
/**
* All templates
*/
ALL;
@Override @Override
public String toString() { public String toString() {