|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.opennms.web.svclayer.AggregateStatus
public class AggregateStatus
Use this class to aggregate status to be presented in a view layer technology.
| Field Summary | |
|---|---|
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 Summary | |
|---|---|
AggregateStatus(Collection<OnmsNode> nodes)
Constructor for AggregateStatus. |
|
| Method Summary | |
|---|---|
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()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
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"
| Constructor Detail |
|---|
public AggregateStatus(Collection<OnmsNode> nodes)
Constructor for AggregateStatus.
nodes - a Collection object.| Method Detail |
|---|
public String getStatus()
getStatus
getStatus in interface SurveillanceStatusString object.public Integer getDownEntityCount()
getDownEntityCount
getDownEntityCount in interface SurveillanceStatusInteger object.public List<OnmsNode> getDownNodes()
getDownNodes
Set object.public String getLabel()
getLabel
String object.public void setLabel(String label)
setLabel
label - a String object.public Integer getTotalEntityCount()
getTotalEntityCount
getTotalEntityCount in interface SurveillanceStatusInteger object.public String toString()
toString in class Objectpublic String getLink()
getLink
String object.public void setLink(String link)
setLink
link - a String object.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||