public enum ResultEnum extends java.lang.Enum<ResultEnum>
| Enum Constant and Description |
|---|
ERROR
Error result enum.
|
SUCCESS
Success result enum.
|
TIME_OUT
Time out result enum.
|
| Modifier and Type | Method and Description |
|---|---|
java.lang.String |
getName()
get name.
|
static ResultEnum |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ResultEnum[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ResultEnum SUCCESS
public static final ResultEnum TIME_OUT
public static final ResultEnum ERROR
public static ResultEnum[] values()
for (ResultEnum c : ResultEnum.values()) System.out.println(c);
public static ResultEnum 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 namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getName()
Copyright © 2024 The Apache Software Foundation. All rights reserved.