public class AggregateStatus extends Object implements SurveillanceStatus
| Modifier and Type | Field and Description |
|---|---|
static String |
ALL_NODES_UP
Constant
ALL_NODES_UP="Normal" |
static String |
NODES_ARE_DOWN
Constant
NODES_ARE_DOWN="Critical" |
static String |
ONE_SERVICE_DOWN
Constant
ONE_SERVICE_DOWN="Warning" |
| Constructor and Description |
|---|
AggregateStatus(Collection<OnmsNode> nodes)
Constructor for AggregateStatus.
|
| Modifier and Type | Method and Description |
|---|---|
Integer |
getDownEntityCount()
getDownEntityCount
|
List<OnmsNode> |
getDownNodes()
getDownNodes
|
String |
getLabel()
getLabel
|
String |
getLink()
getLink
|
String |
getStatus()
getStatus
|
Integer |
getTotalEntityCount()
getTotalEntityCount
|
void |
setLabel(String label)
setLabel
|
void |
setLink(String link)
setLink
|
String |
toString() |
public static final String NODES_ARE_DOWN
NODES_ARE_DOWN="Critical"public static final String ONE_SERVICE_DOWN
ONE_SERVICE_DOWN="Warning"public static final String ALL_NODES_UP
ALL_NODES_UP="Normal"public AggregateStatus(Collection<OnmsNode> nodes)
Constructor for AggregateStatus.
nodes - a Collection object.public String getStatus()
getStatus
getStatus in interface SurveillanceStatusString object.public Integer getDownEntityCount()
getDownEntityCount
getDownEntityCount in interface SurveillanceStatusInteger object.public Integer getTotalEntityCount()
getTotalEntityCount
getTotalEntityCount in interface SurveillanceStatusInteger object.Copyright © 2020. All rights reserved.