public enum ReachabilityStatus extends java.lang.Enum<ReachabilityStatus>
| Enum Constant and Description |
|---|
AVAILABLE
The person is currently available.
|
BUSY
The person is busy, mind before interrupt.
|
DO_NOT_DISTURB
The person shall not be interrupted, but it may be possible in case of emergency.
|
NOT_CALCULATED
The status wasn't calculated up to know, but will probably be calculated soon.
|
UNAVAILABLE
The person is unavailable.
|
| Modifier and Type | Method and Description |
|---|---|
static ReachabilityStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ReachabilityStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ReachabilityStatus AVAILABLE
public static final ReachabilityStatus BUSY
public static final ReachabilityStatus DO_NOT_DISTURB
public static final ReachabilityStatus UNAVAILABLE
public static final ReachabilityStatus NOT_CALCULATED
public static ReachabilityStatus[] values()
for (ReachabilityStatus c : ReachabilityStatus.values()) System.out.println(c);
public static ReachabilityStatus 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 null