Class Graph

    • Constructor Detail

      • Graph

        public Graph​(org.opennms.netmgt.model.PrefabGraph graph,
                     org.opennms.netmgt.model.OnmsResource resource,
                     Date start,
                     Date end)

        Constructor for Graph.

        Parameters:
        graph - a PrefabGraph object.
        resource - a OnmsResource object.
        start - a Date object.
        end - a Date object.
    • Method Detail

      • getResource

        public org.opennms.netmgt.model.OnmsResource getResource()

        getResource

        Returns:
        a OnmsResource object.
      • getStart

        public Date getStart()

        getStart

        Returns:
        a Date object.
      • getEnd

        public Date getEnd()

        getEnd

        Returns:
        a Date object.
      • getName

        public String getName()

        getName

        Returns:
        a String object.
      • getTitle

        public String getTitle()

        getTitle

        Returns:
        a String object.
      • compareTo

        public int compareTo​(Graph other)

        compareTo

        Specified by:
        compareTo in interface Comparable<Graph>
        Parameters:
        other - a Graph object.
        Returns:
        a int.
      • getGraphWidth

        public Integer getGraphWidth()

        getGraphWidth

        Returns:
        a Integer object.
      • getGraphHeight

        public Integer getGraphHeight()

        getGraphHeight

        Returns:
        a Integer object.
      • getPrefabGraph

        public org.opennms.netmgt.model.PrefabGraph getPrefabGraph()

        getPrefabGraph

        Returns:
        a PrefabGraph object.
      • getReport

        public String getReport()

        getReport

        Returns:
        a String object.
      • getRequiredRrGraphdAttributes

        public Collection<org.opennms.netmgt.model.RrdGraphAttribute> getRequiredRrGraphdAttributes()

        getRequiredRrGraphdAttributes

        Returns:
        a Collection object.