public static enum ServiceResponse.ServiceResult extends Enum<ServiceResponse.ServiceResult>
Enum Constant and Description |
---|
FAILURE
The failure.
|
SUCCESS
The success.
|
Modifier and Type | Method and Description |
---|---|
static ServiceResponse.ServiceResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceResponse.ServiceResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceResponse.ServiceResult FAILURE
public static final ServiceResponse.ServiceResult SUCCESS
public static ServiceResponse.ServiceResult[] values()
for (ServiceResponse.ServiceResult c : ServiceResponse.ServiceResult.values()) System.out.println(c);
public static ServiceResponse.ServiceResult 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 © 2010–2017 www.hack23.com. All rights reserved.