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 intcompareTo(PrefabGraph other)compareToString[]getColumns()getColumnsStringgetCommand()getCommandStringgetDescription()Can be null.String[]getExternalValues()getExternalValuesIntegergetGraphHeight()Can be null.IntegergetGraphWidth()Can be null.StringgetName()getNameintgetOrder()getOrderString[]getPropertiesValues()getPropertiesValuesString[]getSuppress()getSuppressStringgetTitle()getTitleString[]getTypes()Can be null.booleanhasMatchingType(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- aStringobject.title- aStringobject.columns- an array ofStringobjects.command- aStringobject.externalValues- an array ofStringobjects.propertiesValues- an array ofStringobjects.order- a int.types- an array ofStringobjects.description- aStringobject.graphWidth- aIntegerobject.graphHeight- aIntegerobject.suppress- an array ofStringobjects.
-
-
Method Detail
-
getOrder
public int getOrder()
getOrder
- Returns:
- a int.
-
getExternalValues
public String[] getExternalValues()
getExternalValues
- Returns:
- an array of
Stringobjects.
-
getPropertiesValues
public String[] getPropertiesValues()
getPropertiesValues
- Returns:
- list of required string properties
- See Also:
StringPropertyAttribute
-
hasMatchingType
public boolean hasMatchingType(String... matchingTypes)
hasMatchingType
- Parameters:
matchingTypes- aStringobject.- Returns:
- a boolean.
-
compareTo
public int compareTo(PrefabGraph other)
compareTo
- Specified by:
compareToin interfaceComparable<PrefabGraph>- Parameters:
other- aPrefabGraphobject.- Returns:
- a int.
-
-