Class AggregateStatus

  • All Implemented Interfaces:
    org.opennms.netmgt.model.SurveillanceStatus

    public class AggregateStatus
    extends Object
    implements org.opennms.netmgt.model.SurveillanceStatus
    Use this class to aggregate status to be presented in a view layer technology.
    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    David Hustace, Mathew Brozowski, DJ Gregor
    • Constructor Detail

      • AggregateStatus

        public AggregateStatus​(Collection<org.opennms.netmgt.model.OnmsNode> nodes)

        Constructor for AggregateStatus.

        Parameters:
        nodes - a Collection object.
    • Method Detail

      • getStatus

        public String getStatus()

        getStatus

        Specified by:
        getStatus in interface org.opennms.netmgt.model.SurveillanceStatus
        Returns:
        a String object.
      • getDownEntityCount

        public Integer getDownEntityCount()

        getDownEntityCount

        Specified by:
        getDownEntityCount in interface org.opennms.netmgt.model.SurveillanceStatus
        Returns:
        a Integer object.
      • getDownNodes

        public List<org.opennms.netmgt.model.OnmsNode> getDownNodes()

        getDownNodes

        Returns:
        a Set object.
      • getLabel

        public String getLabel()

        getLabel

        Returns:
        a String object.
      • setLabel

        public void setLabel​(String label)

        setLabel

        Parameters:
        label - a String object.
      • getTotalEntityCount

        public Integer getTotalEntityCount()

        getTotalEntityCount

        Specified by:
        getTotalEntityCount in interface org.opennms.netmgt.model.SurveillanceStatus
        Returns:
        a Integer object.
      • getLink

        public String getLink()

        getLink

        Returns:
        a String object.
      • setLink

        public void setLink​(String link)

        setLink

        Parameters:
        link - a String object.