Package org.opennms.netmgt.model
Class PrefabGraphType
- java.lang.Object
-
- org.opennms.netmgt.model.PrefabGraphType
-
public class PrefabGraphType extends Object
PrefabGraphType class.
-
-
Constructor Summary
Constructors Constructor Description PrefabGraphType()Constructor for PrefabGraphType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCommandPrefix()getCommandPrefixStringgetDefaultReport()getDefaultReportStringgetGraphHeight()getGraphHeightStringgetGraphWidth()getGraphWidthStringgetIncludeDirectory()intgetIncludeDirectoryRescanTimeout()StringgetName()getNameStringgetOutputMimeType()getOutputMimeTypevoidsetCommandPrefix(String commandPrefix)setCommandPrefixvoidsetDefaultReport(String defaultReport)setDefaultReportvoidsetGraphHeight(String graphHeight)setGraphHeightvoidsetGraphWidth(String graphWidth)setGraphWidthvoidsetIncludeDirectory(String includeDirectory)Set the directory from which individual graph files should be includedvoidsetIncludeDirectoryRescanInterval(int interval)Set the interval between rescans of the include directory, in milliseconds.voidsetName(String name)setNamevoidsetOutputMimeType(String outputMimeType)setOutputMimeType
-
-
-
Method Detail
-
setDefaultReport
public void setDefaultReport(String defaultReport)
setDefaultReport
- Parameters:
defaultReport- aStringobject.
-
setGraphWidth
public void setGraphWidth(String graphWidth)
setGraphWidth
- Parameters:
graphWidth- aStringobject.
-
setGraphHeight
public void setGraphHeight(String graphHeight)
setGraphHeight
- Parameters:
graphHeight- aStringobject.
-
setCommandPrefix
public void setCommandPrefix(String commandPrefix)
setCommandPrefix
- Parameters:
commandPrefix- aStringobject.
-
setOutputMimeType
public void setOutputMimeType(String outputMimeType)
setOutputMimeType
- Parameters:
outputMimeType- aStringobject.
-
setIncludeDirectory
public void setIncludeDirectory(String includeDirectory)
Set the directory from which individual graph files should be included- Parameters:
includeDirectory- - the new path for the include directory If not absolute, is a path relative to the directory containing the main configuration file
-
getIncludeDirectory
public String getIncludeDirectory()
- Returns:
- the include directory in which to look for any individual graph files
-
setIncludeDirectoryRescanInterval
public void setIncludeDirectoryRescanInterval(int interval)
Set the interval between rescans of the include directory, in milliseconds. The includeDirectory will only be rescanned for new files if it's been at least this long since the last scan, or the initial load.- Parameters:
timeout- - the new timeout, in milliseconds
-
getIncludeDirectoryRescanTimeout
public int getIncludeDirectoryRescanTimeout()
- Returns:
- the timeout used
-
-