Class GraphResults


  • public class GraphResults
    extends java.lang.Object

    GraphResults class.

    Since:
    1.8.1
    Version:
    $Id: $
    Author:
    ranger
    • Constructor Detail

      • GraphResults

        public GraphResults()
    • Method Detail

      • setStart

        public void setStart​(java.util.Date start)

        setStart

        Parameters:
        start - a Date object.
      • getStart

        public java.util.Date getStart()

        getStart

        Returns:
        a Date object.
      • setEnd

        public void setEnd​(java.util.Date end)

        setEnd

        Parameters:
        end - a Date object.
      • getEnd

        public java.util.Date getEnd()

        getEnd

        Returns:
        a Date object.
      • setRelativeTime

        public void setRelativeTime​(java.lang.String relativeTime)

        setRelativeTime

        Parameters:
        relativeTime - a String object.
      • getRelativeTime

        public java.lang.String getRelativeTime()

        getRelativeTime

        Returns:
        a String object.
      • setRelativeTimePeriods

        public void setRelativeTimePeriods​(RelativeTimePeriod[] relativeTimePeriods)

        setRelativeTimePeriods

        Parameters:
        relativeTimePeriods - an array of org.opennms.web.graph.RelativeTimePeriod objects.
      • getRelativeTimePeriods

        public RelativeTimePeriod[] getRelativeTimePeriods()

        getRelativeTimePeriods

        Returns:
        an array of org.opennms.web.graph.RelativeTimePeriod objects.
      • getMonths

        public static java.lang.String[] getMonths()

        getMonths

        Returns:
        an array of String objects.
      • getMonthMap

        public java.util.Map<java.lang.Integer,​java.lang.String> getMonthMap()

        getMonthMap

        Returns:
        a Map object.
      • getHours

        public static java.lang.String[] getHours()

        getHours

        Returns:
        an array of String objects.
      • getHourMap

        public java.util.Map<java.lang.Integer,​java.lang.String> getHourMap()

        getHourMap

        Returns:
        a Map object.
      • getResourceTypes

        public java.util.List<java.lang.String> getResourceTypes()

        getGraphResultSets

        Returns:
        a List object.
      • getGraphResultSets

        public java.util.List<GraphResults.GraphResultSet> getGraphResultSets()

        getGraphResultSets

        Returns:
        a List object.
      • getGraphResultMap

        public java.util.Map<java.lang.String,​java.util.List<GraphResults.GraphResultSet>> getGraphResultMap()

        getGraphResultMap

        Returns:
        a Map object.
      • getReports

        public java.lang.String[] getReports()

        getReports

        Returns:
        an array of String objects.
      • setReports

        public void setReports​(java.lang.String[] reports)

        setReports

        Parameters:
        reports - an array of String objects.
      • getNodeCriteria

        public java.lang.String getNodeCriteria()
      • setNodeCriteria

        public void setNodeCriteria​(java.lang.String nodeCriteria)
      • getGeneratedId

        public java.lang.String getGeneratedId()
      • setGeneratedId

        public void setGeneratedId​(java.lang.String generatedId)
      • getGraphLeftOffset

        public int getGraphLeftOffset()

        getGraphLeftOffset

        Returns:
        a int.
      • setGraphLeftOffset

        public void setGraphLeftOffset​(int graphLeftOffset)

        setGraphLeftOffset

        Parameters:
        graphLeftOffset - a int.
      • getGraphRightOffset

        public int getGraphRightOffset()

        getGraphRightOffset

        Returns:
        a int.
      • setGraphRightOffset

        public void setGraphRightOffset​(int graphRightOffset)

        setGraphRightOffset

        Parameters:
        graphRightOffset - a int.
      • getGraphTopOffsetWithText

        public int getGraphTopOffsetWithText()

        getGraphTopOffsetWithText

        Returns:
        a int.
      • setGraphTopOffsetWithText

        public void setGraphTopOffsetWithText​(int graphTopOffsetWithText)

        setGraphTopOffsetWithText

        Parameters:
        graphTopOffsetWithText - a int.