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 String
getCommandPrefix()
getCommandPrefixString
getDefaultReport()
getDefaultReportString
getGraphHeight()
getGraphHeightString
getGraphWidth()
getGraphWidthString
getIncludeDirectory()
int
getIncludeDirectoryRescanTimeout()
String
getName()
getNameString
getOutputMimeType()
getOutputMimeTypevoid
setCommandPrefix(String commandPrefix)
setCommandPrefixvoid
setDefaultReport(String defaultReport)
setDefaultReportvoid
setGraphHeight(String graphHeight)
setGraphHeightvoid
setGraphWidth(String graphWidth)
setGraphWidthvoid
setIncludeDirectory(String includeDirectory)
Set the directory from which individual graph files should be includedvoid
setIncludeDirectoryRescanInterval(int interval)
Set the interval between rescans of the include directory, in milliseconds.void
setName(String name)
setNamevoid
setOutputMimeType(String outputMimeType)
setOutputMimeType
-
-
-
Method Detail
-
setDefaultReport
public void setDefaultReport(String defaultReport)
setDefaultReport
- Parameters:
defaultReport
- aString
object.
-
setGraphWidth
public void setGraphWidth(String graphWidth)
setGraphWidth
- Parameters:
graphWidth
- aString
object.
-
setGraphHeight
public void setGraphHeight(String graphHeight)
setGraphHeight
- Parameters:
graphHeight
- aString
object.
-
setCommandPrefix
public void setCommandPrefix(String commandPrefix)
setCommandPrefix
- Parameters:
commandPrefix
- aString
object.
-
setOutputMimeType
public void setOutputMimeType(String outputMimeType)
setOutputMimeType
- Parameters:
outputMimeType
- aString
object.
-
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
-
-