public static enum AsyncJob.ResultCode extends Enum<AsyncJob.ResultCode>
Modifier and Type | Method and Description |
---|---|
int |
code() |
static AsyncJob.ResultCode |
fromValue(String value) |
static AsyncJob.ResultCode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AsyncJob.ResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AsyncJob.ResultCode SUCCESS
public static final AsyncJob.ResultCode FAIL
public static final AsyncJob.ResultCode UNKNOWN
public static AsyncJob.ResultCode[] values()
for (AsyncJob.ResultCode c : AsyncJob.ResultCode.values()) System.out.println(c);
public static AsyncJob.ResultCode 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 int code()
public static AsyncJob.ResultCode fromValue(String value)
Copyright © 2009-2013 jclouds. All Rights Reserved.