Package org.opennms.netmgt.model
Class PrefabGraph
- java.lang.Object
-
- org.opennms.netmgt.model.PrefabGraph
-
- All Implemented Interfaces:
Comparable<PrefabGraph>
public class PrefabGraph extends Object implements Comparable<PrefabGraph>
PrefabGraph class.
-
-
Constructor Summary
Constructors Constructor Description PrefabGraph(String name, String title, String[] columns, String command, String[] externalValues, String[] propertiesValues, int order, String[] types, String description, Integer graphWidth, Integer graphHeight, String[] suppress)
Constructor for PrefabGraph.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
compareTo(PrefabGraph other)
compareToString[]
getColumns()
getColumnsString
getCommand()
getCommandString
getDescription()
Can be null.String[]
getExternalValues()
getExternalValuesInteger
getGraphHeight()
Can be null.Integer
getGraphWidth()
Can be null.String
getName()
getNameint
getOrder()
getOrderString[]
getPropertiesValues()
getPropertiesValuesString[]
getSuppress()
getSuppressString
getTitle()
getTitleString[]
getTypes()
Can be null.boolean
hasMatchingType(String... matchingTypes)
hasMatchingType
-
-
-
Constructor Detail
-
PrefabGraph
public PrefabGraph(String name, String title, String[] columns, String command, String[] externalValues, String[] propertiesValues, int order, String[] types, String description, Integer graphWidth, Integer graphHeight, String[] suppress)
Constructor for PrefabGraph.
- Parameters:
name
- aString
object.title
- aString
object.columns
- an array ofString
objects.command
- aString
object.externalValues
- an array ofString
objects.propertiesValues
- an array ofString
objects.order
- a int.types
- an array ofString
objects.description
- aString
object.graphWidth
- aInteger
object.graphHeight
- aInteger
object.suppress
- an array ofString
objects.
-
-
Method Detail
-
getOrder
public int getOrder()
getOrder
- Returns:
- a int.
-
getExternalValues
public String[] getExternalValues()
getExternalValues
- Returns:
- an array of
String
objects.
-
getPropertiesValues
public String[] getPropertiesValues()
getPropertiesValues
- Returns:
- list of required string properties
- See Also:
StringPropertyAttribute
-
hasMatchingType
public boolean hasMatchingType(String... matchingTypes)
hasMatchingType
- Parameters:
matchingTypes
- aString
object.- Returns:
- a boolean.
-
compareTo
public int compareTo(PrefabGraph other)
compareTo
- Specified by:
compareTo
in interfaceComparable<PrefabGraph>
- Parameters:
other
- aPrefabGraph
object.- Returns:
- a int.
-
-