public enum ServiceResult extends Enum<ServiceResult>
Enum Constant and Description |
---|
Error
The Error.
|
Success
The Success.
|
Warning
The Warning.
|
Modifier and Type | Method and Description |
---|---|
static ServiceResult |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServiceResult[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServiceResult Success
public static final ServiceResult Warning
public static final ServiceResult Error
public static ServiceResult[] values()
for (ServiceResult c : ServiceResult.values()) System.out.println(c);
public static 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 © 2012–2015 Microsoft. All rights reserved.