Fixing CloudStack TemplateFilter enum to work with 3.x API properly

This commit is contained in:
Andrew Bayer 2012-10-09 12:31:44 -07:00 committed by Adrian Cole
parent be40ff5e47
commit d2f7efcda9
1 changed files with 14 additions and 1 deletions

View File

@ -40,6 +40,15 @@ public enum TemplateFilter {
* to deploy a new VM
*/
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
*/
@ -47,7 +56,11 @@ public enum TemplateFilter {
/**
* templates that are public
*/
COMMUNITY;
COMMUNITY,
/**
* All templates
*/
ALL;
@Override
public String toString() {