org.jclouds.cloudstack.domain
Enum Template.Status

java.lang.Object
  extended by java.lang.Enum<Template.Status>
      extended by 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
ABANDONED
          the download has been cancelled/aborted.
DOWNLOAD_ERROR
          the download has reached an error state.
DOWNLOAD_IN_PROGRESS
          the download is in progress
DOWNLOADED
          the resource has been downloaded on secondary storage.
NOT_DOWNLOADED
          the download hasn't started.
NOT_UPLOADED
          the resource upload work hasn't started yet
UNKNOWN
          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
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.
 
Methods inherited from class java.lang.Enum
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
 
Methods inherited from class java.lang.Object
getClass, notify, notifyAll, wait, wait, wait
 

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 name
NullPointerException - if the argument is null

fromValue

public static Template.Status fromValue(String state)


Copyright © 2009-2012 jclouds. All Rights Reserved.