Package | Description |
---|---|
com.hp.util.health |
A facility for representing health status, where health is comprisedof a set of categories, each of which can report their individual state.
|
Modifier and Type | Method and Description |
---|---|
<C extends Enum<C>> |
StateAggregator.Algorithm.compute(Map<C,State> map)
Computes a derived state from a map of states for some specific category.
|
State |
Health.getAggregateState()
Returns the aggregate state.
|
State |
Health.getState(C category)
Returns the state for the specified category.
|
static State |
State.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static State[] |
State.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Modifier and Type | Method and Description |
---|---|
void |
Health.setState(C category,
State state)
Sets the specified state value for the given category.
|
Modifier and Type | Method and Description |
---|---|
<C extends Enum<C>> |
StateAggregator.Algorithm.compute(Map<C,State> map)
Computes a derived state from a map of states for some specific category.
|
Copyright © 2016. All Rights Reserved.