public enum ReturnCodeEnum extends Enum<ReturnCodeEnum>
| Enum Constant and Description |
|---|
ABORTED
Represents aborted.
|
DESTINATION_NOT_FOUND
Represents destination-not-found.
|
INVALID_ARGUMENT
Represents invalid-argument.
|
NO_MEMORY
Represents no-memory.
|
NO_PATH_FOUND
Represents no-path-found.
|
OTHER_ERROR
Represents other-error.
|
SOME_PATH_NOT_FOUND
Represents some-path-not-found.
|
SOURCE_NOT_FOUND
Represents source-not-found.
|
SUCCESS
Represents success.
|
TOPOLOGY_ERROR
Represents topology-error.
|
| Modifier and Type | Method and Description |
|---|---|
static ReturnCodeEnum |
of(int value)
Returns the object of returnCodeEnum for.
|
static ReturnCodeEnum |
of(String value)
Returns the object of returnCodeEnum for.
|
int |
returnCodeEnum()
Returns the attribute returnCodeEnum.
|
String |
toString() |
static ReturnCodeEnum |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ReturnCodeEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReturnCodeEnum SUCCESS
public static final ReturnCodeEnum ABORTED
public static final ReturnCodeEnum DESTINATION_NOT_FOUND
public static final ReturnCodeEnum INVALID_ARGUMENT
public static final ReturnCodeEnum NO_MEMORY
public static final ReturnCodeEnum NO_PATH_FOUND
public static final ReturnCodeEnum OTHER_ERROR
public static final ReturnCodeEnum SOME_PATH_NOT_FOUND
public static final ReturnCodeEnum SOURCE_NOT_FOUND
public static final ReturnCodeEnum TOPOLOGY_ERROR
public static ReturnCodeEnum[] values()
for (ReturnCodeEnum c : ReturnCodeEnum.values()) System.out.println(c);
public static ReturnCodeEnum 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 ReturnCodeEnum of(int value)
value - value of returnCodeEnum forpublic static ReturnCodeEnum of(String value)
value - value of returnCodeEnum forpublic int returnCodeEnum()
public String toString()
toString in class Enum<ReturnCodeEnum>Copyright © 2018. All rights reserved.