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 Summary
Enum Constants Enum Constant Description ABANDONED
the download has been cancelled/aborted.DOWNLOAD_ERROR
the download has reached an error state.DOWNLOAD_IN_PROGRESS
the download is in progressDOWNLOADED
the resource has been downloaded on secondary storage.NOT_DOWNLOADED
the download hasn't started.NOT_UPLOADED
the resource upload work hasn't started yetUNKNOWN
status of download is not known.UNRECOGNIZED
UPLOAD_ERROR
the resource upload has reached error.UPLOAD_IN_PROGRESS
the resource upload is in progress.UPLOADED
the resource has been uploaded
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Template.Status
fromValue(String state)
static Template.Status
valueOf(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
-
UNKNOWN
public static final Template.Status UNKNOWN
status of download is not known. Example - When the job for downloading doesn't exist during progress check.
-
ABANDONED
public static final Template.Status ABANDONED
the download has been cancelled/aborted.
-
DOWNLOAD_ERROR
public static final Template.Status DOWNLOAD_ERROR
the download has reached an error state. Example - there is not route to ssvm agent
-
NOT_DOWNLOADED
public static final Template.Status NOT_DOWNLOADED
the download hasn't started.
-
DOWNLOAD_IN_PROGRESS
public static final Template.Status DOWNLOAD_IN_PROGRESS
the download is in progress
-
DOWNLOADED
public static final Template.Status DOWNLOADED
the resource has been downloaded on secondary storage.
-
UPLOADED
public static final Template.Status UPLOADED
the resource has been uploaded
-
NOT_UPLOADED
public static final Template.Status NOT_UPLOADED
the resource upload work hasn't started yet
-
UPLOAD_ERROR
public static final Template.Status UPLOAD_ERROR
the resource upload has reached error.
-
UPLOAD_IN_PROGRESS
public static final Template.Status UPLOAD_IN_PROGRESS
the resource upload is in progress.
-
UNRECOGNIZED
public static final Template.Status UNRECOGNIZED
-
-
Method Detail
-
values
public 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
-
valueOf
public 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 nameNullPointerException
- if the argument is null
-
fromValue
public static Template.Status fromValue(String state)
-
-