public enum SourceStatus extends java.lang.Enum<SourceStatus>
Enumeration that defines the status of a source.
The SourceStatus
will be provided by calling getSourceStatus
on a SourceStatusEvent
.
Enum Constant and Description |
---|
DOWN
A source has gone up.
|
UP
A source has gone down.
|
Modifier and Type | Method and Description |
---|---|
static SourceStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SourceStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SourceStatus DOWN
A source has gone up.
public static final SourceStatus UP
A source has gone down.
public static SourceStatus[] values()
for (SourceStatus c : SourceStatus.values()) System.out.println(c);
public static SourceStatus 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 nullPlease send bug reports and comments to Caplin support