public static enum Template.Status extends Enum<Template.Status>
Enum Constant and Description |
---|
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
|
Modifier and Type | Method and 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.
|
public static final Template.Status UNKNOWN
public static final Template.Status ABANDONED
public static final Template.Status DOWNLOAD_ERROR
public static final Template.Status NOT_DOWNLOADED
public static final Template.Status DOWNLOAD_IN_PROGRESS
public static final Template.Status DOWNLOADED
public static final Template.Status UPLOADED
public static final Template.Status NOT_UPLOADED
public static final Template.Status UPLOAD_ERROR
public static final Template.Status UPLOAD_IN_PROGRESS
public static final Template.Status UNRECOGNIZED
public static Template.Status[] values()
for (Template.Status c : Template.Status.values()) System.out.println(c);
public static Template.Status valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant
with the specified nameNullPointerException
- if the argument is nullpublic static Template.Status fromValue(String state)
Copyright © 2009-2013 jclouds. All Rights Reserved.