@Deprecated public class TemplateStateDto extends SingleResourceTransportDto
| Modifier and Type | Class and Description |
|---|---|
static class |
TemplateStateDto.TemplateStatusEnumType
Deprecated.
|
| Modifier and Type | Field and Description |
|---|---|
protected Double |
downloadingProgress
Deprecated.
If status == DOWNLOADING reports the current creation progress (based on bytes lefts to read
from the remote repository)
|
protected String |
errorCause
Deprecated.
If status == ERROR reports the creation error cause (content of ''deploy.error'' file)
|
protected String |
masterOvf
Deprecated.
|
static String |
MEDIA_TYPE
Deprecated.
|
static String |
MEDIA_TYPE_JSON
Deprecated.
|
static String |
MEDIA_TYPE_XML
Deprecated.
|
protected String |
ovfId
Deprecated.
Original location of the
TemplateDefinition. |
static String |
SHORT_MEDIA_TYPE_JSON
Deprecated.
|
static String |
SHORT_MEDIA_TYPE_XML
Deprecated.
|
protected TemplateStateDto.TemplateStatusEnumType |
status
Deprecated.
Current status in the enterprise repository
|
API_VERSION, API_VERSION_20, API_VERSION_22, API_VERSION_23, API_VERSION_24, API_VERSION_26, API_VERSION_27, API_VERSION_28, API_VERSION_29, APPLICATION, editLink, JSON, links, VERSION_PARAM, XML| Constructor and Description |
|---|
TemplateStateDto()
Deprecated.
|
TemplateStateDto(String ovfId,
Double downloadingProgress)
Deprecated.
creates a DOWNLOADING state.
|
TemplateStateDto(String ovfId,
String errorCause)
Deprecated.
creates an ERROR state.
|
TemplateStateDto(String ovfId,
TemplateStateDto.TemplateStatusEnumType status)
Deprecated.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType()
Deprecated.
|
Double |
getDownloadingProgress()
Deprecated.
|
String |
getErrorCause()
Deprecated.
|
String |
getMasterOvf()
Deprecated.
|
String |
getMediaType()
Deprecated.
|
String |
getOvfId()
Deprecated.
|
TemplateStateDto.TemplateStatusEnumType |
getStatus()
Deprecated.
|
void |
setDownloadingProgress(Double downloadingProgress)
Deprecated.
|
void |
setErrorCause(String errorCause)
Deprecated.
|
void |
setMasterOvf(String masterOvf)
Deprecated.
|
void |
setOvfId(String ovfId)
Deprecated.
|
void |
setStatus(TemplateStateDto.TemplateStatusEnumType status)
Deprecated.
|
addEditLink, addLink, addLinks, getEditLink, getIdFromLink, getLinks, modifyLink, searchLink, searchLink, searchLinkByHref, searchLinks, setLinkspublic static final String MEDIA_TYPE
public static final String SHORT_MEDIA_TYPE_JSON
public static final String SHORT_MEDIA_TYPE_XML
public static final String MEDIA_TYPE_XML
public static final String MEDIA_TYPE_JSON
protected String ovfId
TemplateDefinition. Identify the entity combined with the
Enterprise identifier (id of the ApplianceManager EnterpriseRepository). Datacenter
identifier is implicit in the ApplianceManager context.protected TemplateStateDto.TemplateStatusEnumType status
protected Double downloadingProgress
protected String errorCause
protected String masterOvf
public TemplateStateDto()
public TemplateStateDto(String ovfId, TemplateStateDto.TemplateStatusEnumType status)
public TemplateStateDto(String ovfId, Double downloadingProgress)
public String getOvfId()
public void setOvfId(String ovfId)
public TemplateStateDto.TemplateStatusEnumType getStatus()
public void setStatus(TemplateStateDto.TemplateStatusEnumType status)
public Double getDownloadingProgress()
public void setDownloadingProgress(Double downloadingProgress)
public String getErrorCause()
public void setErrorCause(String errorCause)
public String getMasterOvf()
public void setMasterOvf(String masterOvf)
public String getMediaType()
getMediaType in class SingleResourceTransportDtopublic String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.