public class TemplateDefinitionList extends DomainWrapper<com.abiquo.server.core.appslibrary.TemplateDefinitionListDto>
TemplateDefinitionListDto
. A Template Definition List
provides a way to organize multiple Template Definitions. A single Template Definition can be
shared by many lists. Its compatible with ovfindex.xml format.Modifier and Type | Class and Description |
---|---|
static class |
TemplateDefinitionList.Builder |
context, target
Modifier | Constructor and Description |
---|---|
protected |
TemplateDefinitionList(RestContext<AbiquoApi,AbiquoAsyncApi> context,
com.abiquo.server.core.appslibrary.TemplateDefinitionListDto target)
Constructor to be used only by the builder.
|
Modifier and Type | Method and Description |
---|---|
static TemplateDefinitionList.Builder |
builder(RestContext<AbiquoApi,AbiquoAsyncApi> context,
Enterprise enterprise) |
void |
delete()
Delete the template definition list.
|
Integer |
getId() |
String |
getName() |
String |
getUrl() |
List<TemplateState> |
listStatus(Datacenter datacenter)
Retrieve the list of states of the templates in the template definition list in the
repository of the given datacenter.
|
List<TemplateState> |
listStatus(com.google.common.base.Predicate<TemplateState> filter,
Datacenter datacenter)
Retrieve a filtered list of states of the templates in the template definition list in the
repository of the given datacenter.
|
void |
save()
Create a template definition list.
|
void |
setName(String name) |
void |
setUrl(String url) |
String |
toString() |
void |
update()
Update a template definition list with the data from this template definition list.
|
getParentId, getTask, getTasks, getURI, join, unwrap, unwrap, updateLink, wrap, wrap
protected TemplateDefinitionList(RestContext<AbiquoApi,AbiquoAsyncApi> context, com.abiquo.server.core.appslibrary.TemplateDefinitionListDto target)
public void delete()
public void save()
public void update()
public List<TemplateState> listStatus(Datacenter datacenter)
The
- datacenter in which repository search. http://community.abiquo.com/display/ABI20/TemplateDefinitionListResource#
TemplateDefinitionListResource-Retrievealistofthestatusofalltemplatestatuslist
public List<TemplateState> listStatus(com.google.common.base.Predicate<TemplateState> filter, Datacenter datacenter)
filter
- Filter to be applied to the list.The
- datacenter in which repository search. http://community.abiquo.com/display/ABI20/TemplateDefinitionListResource#
TemplateDefinitionListResource-Retrievealistofthestatusofalltemplatestatuslist
public static TemplateDefinitionList.Builder builder(RestContext<AbiquoApi,AbiquoAsyncApi> context, Enterprise enterprise)
public Integer getId()
public String getName()
public String getUrl()
public void setName(String name)
public void setUrl(String url)
Copyright © 2009-2013 jclouds. All Rights Reserved.