public class ConversionDto extends SingleResourceTransportDto
| Modifier and Type | Field and Description |
|---|---|
static String |
MEDIA_TYPE |
static String |
MEDIA_TYPE_JSON |
static String |
MEDIA_TYPE_XML |
static String |
SHORT_MEDIA_TYPE_JSON |
static String |
SHORT_MEDIA_TYPE_XML |
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 |
|---|
ConversionDto() |
| Modifier and Type | Method and Description |
|---|---|
String |
getBaseMediaType() |
String |
getMediaType() |
String |
getSourceFormat()
DiskFormatType of the template disk file in ''sourcePath''
|
String |
getSourcePath()
Path relative to the Abiquo repository of the template disk file used as source of the
conversion
|
Date |
getStartTimestamp()
When the conversion starts
|
ConversionState |
getState()
Result status of the conversion
|
String |
getTargetFormat()
DiskFormatType of the template disk file in ''targetPath''
|
String |
getTargetPath()
Path relative to the Abiquo repository of resulting template disk file
|
Long |
getTargetSizeInBytes()
Size of the template disk file result in ''targetPath''
|
void |
setSourceFormat(String sourceFormat) |
void |
setSourcePath(String sourcePath) |
void |
setStartTimestamp(Date startTimestamp) |
void |
setState(ConversionState state) |
void |
setTargetFormat(String targetFormat) |
void |
setTargetPath(String targetPath) |
void |
setTargetSizeInBytes(Long targetSizeInBytes) |
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
@NotNull public String getSourceFormat()
@NotNull public String getSourcePath()
@NotNull public Date getStartTimestamp()
@NotNull public ConversionState getState()
@NotNull public String getTargetFormat()
@NotNull public String getTargetPath()
@NotNull public Long getTargetSizeInBytes()
public void setSourceFormat(String sourceFormat)
public void setSourcePath(String sourcePath)
public void setStartTimestamp(Date startTimestamp)
public void setState(ConversionState state)
public void setTargetFormat(String targetFormat)
public void setTargetPath(String targetPath)
public void setTargetSizeInBytes(Long targetSizeInBytes)
public String getBaseMediaType()
getBaseMediaType in class SingleResourceTransportDtopublic String getMediaType()
getMediaType in class SingleResourceTransportDtoCopyright © 2008-2014 Abiquo Holdings S.L.. All Rights Reserved.