Class JRobinRrdGraphDetails

  • All Implemented Interfaces:
    RrdGraphDetails

    public class JRobinRrdGraphDetails
    extends java.lang.Object
    implements RrdGraphDetails
    Container for details from a JRobin RRD graph. Stores the same details as RrdGraphDetails, in addition to the JRobin RrdGraph object itself and the graph command String used to generate the graph. We keep the graph command string around so we can generate a detailed error if getInputStream() is called, but no graph was produced.
    Version:
    $Id: $
    Author:
    DJ Gregor
    • Constructor Summary

      Constructors 
      Constructor Description
      JRobinRrdGraphDetails​(org.jrobin.graph.RrdGraph rrdGraph, java.lang.String graphCommand)
      Constructor for JRobinRrdGraphDetails.
    • Constructor Detail

      • JRobinRrdGraphDetails

        public JRobinRrdGraphDetails​(org.jrobin.graph.RrdGraph rrdGraph,
                                     java.lang.String graphCommand)

        Constructor for JRobinRrdGraphDetails.

        Parameters:
        rrdGraph - a RrdGraph object.
        graphCommand - a String object.
    • Method Detail

      • getRrdGraph

        public org.jrobin.graph.RrdGraph getRrdGraph()

        getRrdGraph

        Returns:
        a RrdGraph object.
      • getGraphCommand

        public java.lang.String getGraphCommand()

        getGraphCommand

        Returns:
        a String object.
      • getPrintLines

        public java.lang.String[] getPrintLines()

        getPrintLines

        Specified by:
        getPrintLines in interface RrdGraphDetails
        Returns:
        an array of String objects.