|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Result.Status>
com.android.ide.common.rendering.api.Result.Status
public static enum Result.Status
Scene Status enum.
This indicates the status of all scene actions.
Method Summary | |
---|---|
Result |
createResult()
Returns a Result object with this status. |
Result |
createResult(java.lang.Object data)
Returns a Result object with this status, and the given data. |
Result |
createResult(java.lang.String errorMessage)
Returns a ERROR_UNKNOWN result with the given message |
Result |
createResult(java.lang.String errorMessage,
java.lang.Throwable throwable)
Returns a ERROR_UNKNOWN result with the given message and throwable |
static Result.Status |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Result.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 |
---|
public static final Result.Status SUCCESS
public static final Result.Status NOT_IMPLEMENTED
public static final Result.Status ERROR_TIMEOUT
public static final Result.Status ERROR_LOCK_INTERRUPTED
public static final Result.Status ERROR_INFLATION
public static final Result.Status ERROR_VIEWGROUP_NO_CHILDREN
public static final Result.Status ERROR_NOT_INFLATED
public static final Result.Status ERROR_RENDER
public static final Result.Status ERROR_ANIM_NOT_FOUND
public static final Result.Status ERROR_NOT_A_DRAWABLE
public static final Result.Status ERROR_REFLECTION
public static final Result.Status ERROR_UNKNOWN
Method Detail |
---|
public static Result.Status[] values()
for (Result.Status c : Result.Status.values()) System.out.println(c);
public static Result.Status valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.
java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified name
java.lang.NullPointerException
- if the argument is nullpublic Result createResult()
Result
object with this status.
public Result createResult(java.lang.Object data)
Result
object with this status, and the given data.
Result.getData()
public Result createResult(java.lang.String errorMessage, java.lang.Throwable throwable)
ERROR_UNKNOWN
result with the given message and throwable
errorMessage
- the error messagethrowable
- the throwable
public Result createResult(java.lang.String errorMessage)
ERROR_UNKNOWN
result with the given message
errorMessage
- the error message
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |