public enum NAsyncStatus extends Enum<NAsyncStatus> implements NEnum
| Enum Constant and Description |
|---|
CANCELED |
COMPLETED |
FAULTED |
NONE |
STARTED |
| Modifier and Type | Method and Description |
|---|---|
static NAsyncStatus |
get(int value)
Gets the NAsyncStatus specfieid by value.
|
int |
getValue()
Gets the value of the current object.
|
static NType |
nativeTypeOf()
Retrieves the native type for the enclosing class.
|
static NAsyncStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NAsyncStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NAsyncStatus NONE
public static final NAsyncStatus STARTED
public static final NAsyncStatus COMPLETED
public static final NAsyncStatus CANCELED
public static final NAsyncStatus FAULTED
public static NAsyncStatus[] values()
for (NAsyncStatus c : NAsyncStatus.values()) System.out.println(c);
public static NAsyncStatus 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 getValue()
public static NType nativeTypeOf()
public static NAsyncStatus get(int value)
value - AsyncStatus value.Copyright © 2016 Neurotechnology. All rights reserved.