public static enum StateHandler.Status extends Enum<StateHandler.Status>
StateHandler.reportStatus(com.diffusiondata.gateway.framework.StateHandler.Status, java.lang.String, java.lang.String)
method.Enum Constant and Description |
---|
AMBER
Amber indicates that the service is running but not fully.
|
GREEN
Green indicates that the service is running normally.
|
RED
Red indicates that a problem has occurred that means the service is
not functioning and is in need of recovery.
|
Modifier and Type | Method and Description |
---|---|
static StateHandler.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StateHandler.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StateHandler.Status GREEN
public static final StateHandler.Status AMBER
public static final StateHandler.Status RED
public static StateHandler.Status[] values()
for (StateHandler.Status c : StateHandler.Status.values()) System.out.println(c);
public static StateHandler.Status 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 © 2024 DiffusionData Limited. All rights reserved.