public static enum AvailabilityResult.ErrorType extends Enum<AvailabilityResult.ErrorType>
| Enum Constant and Description |
|---|
CANNOT_CONNECT |
CONNECTION_TIMEOUT |
NONE |
UNKNOWN |
| Modifier and Type | Method and Description |
|---|---|
static AvailabilityResult.ErrorType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AvailabilityResult.ErrorType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AvailabilityResult.ErrorType CANNOT_CONNECT
public static final AvailabilityResult.ErrorType CONNECTION_TIMEOUT
public static final AvailabilityResult.ErrorType UNKNOWN
public static final AvailabilityResult.ErrorType NONE
public static AvailabilityResult.ErrorType[] values()
for (AvailabilityResult.ErrorType c : AvailabilityResult.ErrorType.values()) System.out.println(c);
public static AvailabilityResult.ErrorType 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 © 2008-2014 Red Hat, Inc.. All Rights Reserved.