public static enum Task.StatusCode extends Enum<Task.StatusCode>
Enum Constant and Description |
---|
COMPLETE
For a task with status statusCode , copy and paste the resultUrl into a browser to pull down the
file, which will be an attachment with the proper MIME type and extension.
|
ERROR |
IN_PROCESS |
PENDING |
Modifier and Type | Method and Description |
---|---|
static Task.StatusCode |
fromValue(String statusCode) |
static Task.StatusCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Task.StatusCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Task.StatusCode PENDING
public static final Task.StatusCode IN_PROCESS
public static final Task.StatusCode COMPLETE
public static final Task.StatusCode ERROR
public static Task.StatusCode[] values()
for (Task.StatusCode c : Task.StatusCode.values()) System.out.println(c);
public static Task.StatusCode 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 Task.StatusCode fromValue(String statusCode)
Copyright © 2009-2013 jclouds. All Rights Reserved.