org.opennms.netmgt.model
Class PrefabGraphType

java.lang.Object
  extended by org.opennms.netmgt.model.PrefabGraphType

public class PrefabGraphType
extends Object

PrefabGraphType class.


Constructor Summary
PrefabGraphType()
          Constructor for PrefabGraphType.
 
Method Summary
 String getCommandPrefix()
          getCommandPrefix
 String getDefaultReport()
          getDefaultReport
 String getGraphHeight()
          getGraphHeight
 String getGraphWidth()
          getGraphWidth
 String getIncludeDirectory()
           
 int getIncludeDirectoryRescanTimeout()
           
 String getName()
          getName
 String getOutputMimeType()
          getOutputMimeType
 void setCommandPrefix(String commandPrefix)
          setCommandPrefix
 void setDefaultReport(String defaultReport)
          setDefaultReport
 void setGraphHeight(String graphHeight)
          setGraphHeight
 void setGraphWidth(String graphWidth)
          setGraphWidth
 void setIncludeDirectory(String includeDirectory)
          Set the directory from which individual graph files should be included
 void setIncludeDirectoryRescanInterval(int interval)
          Set the interval between rescans of the include directory, in milliseconds.
 void setName(String name)
          setName
 void setOutputMimeType(String outputMimeType)
          setOutputMimeType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PrefabGraphType

public PrefabGraphType()

Constructor for PrefabGraphType.

Method Detail

setName

public void setName(String name)

setName

Parameters:
name - a String object.

getName

public String getName()

getName

Returns:
a String object.

setDefaultReport

public void setDefaultReport(String defaultReport)

setDefaultReport

Parameters:
defaultReport - a String object.

getDefaultReport

public String getDefaultReport()

getDefaultReport

Returns:
a String object.

setGraphWidth

public void setGraphWidth(String graphWidth)

setGraphWidth

Parameters:
graphWidth - a String object.

getGraphWidth

public String getGraphWidth()

getGraphWidth

Returns:
a String object.

setGraphHeight

public void setGraphHeight(String graphHeight)

setGraphHeight

Parameters:
graphHeight - a String object.

getGraphHeight

public String getGraphHeight()

getGraphHeight

Returns:
a String object.

setCommandPrefix

public void setCommandPrefix(String commandPrefix)

setCommandPrefix

Parameters:
commandPrefix - a String object.

getCommandPrefix

public String getCommandPrefix()

getCommandPrefix

Returns:
a String object.

setOutputMimeType

public void setOutputMimeType(String outputMimeType)

setOutputMimeType

Parameters:
outputMimeType - a String object.

getOutputMimeType

public String getOutputMimeType()

getOutputMimeType

Returns:
a String 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


Copyright © 2011. All Rights Reserved.