public enum FunctionResultType extends Enum<FunctionResultType>
| Enum Constant and Description |
|---|
ERROR
Some error happened when executing the function.
|
NOT_FOUND
The function was not found.
|
SUCCESS
Used when a function is successfully invoked.
|
| Modifier and Type | Method and Description |
|---|---|
static FunctionResultType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FunctionResultType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FunctionResultType SUCCESS
public static final FunctionResultType ERROR
public static final FunctionResultType NOT_FOUND
public static FunctionResultType[] values()
for (FunctionResultType c : FunctionResultType.values()) System.out.println(c);
public static FunctionResultType 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 nullCopyright © 2012–2020 JBoss by Red Hat. All rights reserved.