Package org.jclouds.cloudstack.domain
Enum Template.Status
- java.lang.Object
- 
- java.lang.Enum<Template.Status>
- 
- org.jclouds.cloudstack.domain.Template.Status
 
 
- 
- All Implemented Interfaces:
- Serializable,- Comparable<Template.Status>
 - Enclosing class:
- Template
 
 public static enum Template.Status extends Enum<Template.Status> 
- 
- 
Enum Constant SummaryEnum Constants Enum Constant Description ABANDONEDthe download has been cancelled/aborted.DOWNLOAD_ERRORthe download has reached an error state.DOWNLOAD_IN_PROGRESSthe download is in progressDOWNLOADEDthe resource has been downloaded on secondary storage.NOT_DOWNLOADEDthe download hasn't started.NOT_UPLOADEDthe resource upload work hasn't started yetUNKNOWNstatus of download is not known.UNRECOGNIZEDUPLOAD_ERRORthe resource upload has reached error.UPLOAD_IN_PROGRESSthe resource upload is in progress.UPLOADEDthe resource has been uploaded
 - 
Method SummaryAll Methods Static Methods Concrete Methods Modifier and Type Method Description static Template.StatusfromValue(String state)static Template.StatusvalueOf(String name)Returns the enum constant of this type with the specified name.static Template.Status[]values()Returns an array containing the constants of this enum type, in the order they are declared.
 
- 
- 
- 
Enum Constant Detail- 
UNKNOWNpublic static final Template.Status UNKNOWN status of download is not known. Example - When the job for downloading doesn't exist during progress check.
 - 
ABANDONEDpublic static final Template.Status ABANDONED the download has been cancelled/aborted.
 - 
DOWNLOAD_ERRORpublic static final Template.Status DOWNLOAD_ERROR the download has reached an error state. Example - there is not route to ssvm agent
 - 
NOT_DOWNLOADEDpublic static final Template.Status NOT_DOWNLOADED the download hasn't started.
 - 
DOWNLOAD_IN_PROGRESSpublic static final Template.Status DOWNLOAD_IN_PROGRESS the download is in progress
 - 
DOWNLOADEDpublic static final Template.Status DOWNLOADED the resource has been downloaded on secondary storage.
 - 
UPLOADEDpublic static final Template.Status UPLOADED the resource has been uploaded
 - 
NOT_UPLOADEDpublic static final Template.Status NOT_UPLOADED the resource upload work hasn't started yet
 - 
UPLOAD_ERRORpublic static final Template.Status UPLOAD_ERROR the resource upload has reached error.
 - 
UPLOAD_IN_PROGRESSpublic static final Template.Status UPLOAD_IN_PROGRESS the resource upload is in progress.
 - 
UNRECOGNIZEDpublic static final Template.Status UNRECOGNIZED 
 
- 
 - 
Method Detail- 
valuespublic static Template.Status[] values() Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Template.Status c : Template.Status.values()) System.out.println(c); - Returns:
- an array containing the constants of this enum type, in the order they are declared
 
 - 
valueOfpublic static Template.Status valueOf(String name) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum type has no constant with the specified name
- NullPointerException- if the argument is null
 
 - 
fromValuepublic static Template.Status fromValue(String state) 
 
- 
 
-