public class Graph extends Object implements Comparable<Graph>
Graph class.
Constructor and Description |
---|
Graph(PrefabGraph graph,
OnmsResource resource,
Date start,
Date end)
Constructor for Graph.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(Graph other)
compareTo
|
Date |
getEnd()
getEnd
|
Integer |
getGraphHeight()
getGraphHeight
|
Integer |
getGraphWidth()
getGraphWidth
|
String |
getName()
getName
|
PrefabGraph |
getPrefabGraph()
getPrefabGraph
|
String |
getReport()
getReport
|
Collection<RrdGraphAttribute> |
getRequiredRrGraphdAttributes()
getRequiredRrGraphdAttributes
|
OnmsResource |
getResource()
getResource
|
Date |
getStart()
getStart
|
String |
getTitle()
getTitle
|
public Graph(PrefabGraph graph, OnmsResource resource, Date start, Date end)
Constructor for Graph.
graph
- a PrefabGraph
object.resource
- a OnmsResource
object.start
- a Date
object.end
- a Date
object.public OnmsResource getResource()
getResource
OnmsResource
object.public int compareTo(Graph other)
compareTo
compareTo
in interface Comparable<Graph>
other
- a Graph
object.public PrefabGraph getPrefabGraph()
getPrefabGraph
PrefabGraph
object.public Collection<RrdGraphAttribute> getRequiredRrGraphdAttributes()
getRequiredRrGraphdAttributes
Collection
object.Copyright © 2021. All rights reserved.