org.opennms.web.svclayer
Class AggregateStatus

java.lang.Object
  extended by org.opennms.web.svclayer.AggregateStatus

public class AggregateStatus
extends Object

Use this class to aggregate status to be presented in a view layer technology.

Author:
David Hustace, Mathew Brozowski, DJ Gregor

Field Summary
static String ALL_NODES_UP
           
static String NODES_ARE_DOWN
           
static String ONE_SERVICE_DOWN
           
 
Constructor Summary
AggregateStatus(Collection<OnmsNode> nodes)
           
 
Method Summary
 Integer getDownEntityCount()
           
 Set<OnmsNode> getDownNodes()
           
 String getLabel()
           
 String getLink()
           
 String getStatus()
           
 Integer getTotalEntityCount()
           
 void setLabel(String label)
           
 void setLink(String link)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

NODES_ARE_DOWN

public static final String NODES_ARE_DOWN
See Also:
Constant Field Values

ONE_SERVICE_DOWN

public static final String ONE_SERVICE_DOWN
See Also:
Constant Field Values

ALL_NODES_UP

public static final String ALL_NODES_UP
See Also:
Constant Field Values
Constructor Detail

AggregateStatus

public AggregateStatus(Collection<OnmsNode> nodes)
Method Detail

getStatus

public String getStatus()

getDownEntityCount

public Integer getDownEntityCount()

getDownNodes

public Set<OnmsNode> getDownNodes()

getLabel

public String getLabel()

setLabel

public void setLabel(String label)

getTotalEntityCount

public Integer getTotalEntityCount()

toString

public String toString()
Overrides:
toString in class Object

getLink

public String getLink()

setLink

public void setLink(String link)


Copyright © 2009. All Rights Reserved.