Package org.opennms.netmgt.model
Class PrefabGraphType
- java.lang.Object
-
- org.opennms.netmgt.model.PrefabGraphType
-
public class PrefabGraphType extends java.lang.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 java.lang.String
getCommandPrefix()
getCommandPrefixjava.lang.String
getDefaultReport()
getDefaultReportjava.lang.String
getGraphHeight()
getGraphHeightjava.lang.String
getGraphWidth()
getGraphWidthjava.lang.String
getIncludeDirectory()
int
getIncludeDirectoryRescanTimeout()
java.lang.String
getName()
getNamejava.lang.String
getOutputMimeType()
getOutputMimeTypevoid
setCommandPrefix(java.lang.String commandPrefix)
setCommandPrefixvoid
setDefaultReport(java.lang.String defaultReport)
setDefaultReportvoid
setGraphHeight(java.lang.String graphHeight)
setGraphHeightvoid
setGraphWidth(java.lang.String graphWidth)
setGraphWidthvoid
setIncludeDirectory(java.lang.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(java.lang.String name)
setNamevoid
setOutputMimeType(java.lang.String outputMimeType)
setOutputMimeType
-
-
-
Method Detail
-
setName
public void setName(java.lang.String name)
setName
- Parameters:
name
- aString
object.
-
getName
public java.lang.String getName()
getName
- Returns:
- a
String
object.
-
setDefaultReport
public void setDefaultReport(java.lang.String defaultReport)
setDefaultReport
- Parameters:
defaultReport
- aString
object.
-
getDefaultReport
public java.lang.String getDefaultReport()
getDefaultReport
- Returns:
- a
String
object.
-
setGraphWidth
public void setGraphWidth(java.lang.String graphWidth)
setGraphWidth
- Parameters:
graphWidth
- aString
object.
-
getGraphWidth
public java.lang.String getGraphWidth()
getGraphWidth
- Returns:
- a
String
object.
-
setGraphHeight
public void setGraphHeight(java.lang.String graphHeight)
setGraphHeight
- Parameters:
graphHeight
- aString
object.
-
getGraphHeight
public java.lang.String getGraphHeight()
getGraphHeight
- Returns:
- a
String
object.
-
setCommandPrefix
public void setCommandPrefix(java.lang.String commandPrefix)
setCommandPrefix
- Parameters:
commandPrefix
- aString
object.
-
getCommandPrefix
public java.lang.String getCommandPrefix()
getCommandPrefix
- Returns:
- a
String
object.
-
setOutputMimeType
public void setOutputMimeType(java.lang.String outputMimeType)
setOutputMimeType
- Parameters:
outputMimeType
- aString
object.
-
getOutputMimeType
public java.lang.String getOutputMimeType()
getOutputMimeType
- Returns:
- a
String
object.
-
setIncludeDirectory
public void setIncludeDirectory(java.lang.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 java.lang.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
-
-