Package org.jclouds.cloudstack.domain
Enum Class Template.Status
- All Implemented Interfaces:
Serializable
,Comparable<Template.Status>
,java.lang.constant.Constable
- Enclosing class:
Template
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionthe download has been cancelled/aborted.the download has reached an error state.the download is in progressthe resource has been downloaded on secondary storage.the download hasn't started.the resource upload work hasn't started yetstatus of download is not known.the resource upload has reached error.the resource upload is in progress.the resource has been uploaded -
Method Summary
Modifier and TypeMethodDescriptionstatic Template.Status
static Template.Status
Returns the enum constant of this class with the specified name.static Template.Status[]
values()
Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
UNKNOWN
status of download is not known. Example - When the job for downloading doesn't exist during progress check. -
ABANDONED
the download has been cancelled/aborted. -
DOWNLOAD_ERROR
the download has reached an error state. Example - there is not route to ssvm agent -
NOT_DOWNLOADED
the download hasn't started. -
DOWNLOAD_IN_PROGRESS
the download is in progress -
DOWNLOADED
the resource has been downloaded on secondary storage. -
UPLOADED
the resource has been uploaded -
NOT_UPLOADED
the resource upload work hasn't started yet -
UPLOAD_ERROR
the resource upload has reached error. -
UPLOAD_IN_PROGRESS
the resource upload is in progress. -
UNRECOGNIZED
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (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 class has no constant with the specified nameNullPointerException
- if the argument is null
-
fromValue
-