Package org.opennms.report.configuration
Class ConfigurationReportCalculator
- java.lang.Object
-
- org.opennms.report.configuration.ConfigurationReportCalculator
-
- All Implemented Interfaces:
org.springframework.beans.factory.InitializingBean
public class ConfigurationReportCalculator extends java.lang.Object implements org.springframework.beans.factory.InitializingBean
ConfigurationReportCalculator class.
- Version:
- $Id: $
- Author:
- ranger
-
-
Constructor Summary
Constructors Constructor Description ConfigurationReportCalculator()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
afterPropertiesSet()
afterPropertiesSetvoid
calculate()
calculatejava.lang.String
getBaseDir()
getBaseDirjava.lang.String
getOutputFileName()
getOutputFileNamejava.util.Date
getReportRequestDate()
Getter for the fieldreportRequestDate
.RWSConfig
getRwsConfig()
getRwsConfigjava.lang.String
getTheDate()
Getter for the fieldtheDate
.java.lang.String
getUser()
Getter for the fielduser
.void
marshal(java.io.File outputFile)
marshalvoid
setBaseDir(java.lang.String baseDir)
setBaseDirvoid
setOutputFileName(java.lang.String outputFileName)
setOutputFileNamevoid
setReportRequestDate(java.util.Date reportRequestDate)
Setter for the fieldreportRequestDate
.void
setRwsConfig(RWSConfig rwsConfig)
setRwsConfigvoid
setTheDate(java.lang.String theDate)
Setter for the fieldtheDate
.void
setUser(java.lang.String user)
Setter for the fielduser
.void
writeXML()
writeXML
-
-
-
Method Detail
-
getOutputFileName
public java.lang.String getOutputFileName()
getOutputFileName
- Returns:
- a
String
object.
-
setOutputFileName
public void setOutputFileName(java.lang.String outputFileName)
setOutputFileName
- Parameters:
outputFileName
- aString
object.
-
getTheDate
public java.lang.String getTheDate()
Getter for the field
theDate
.- Returns:
- a
String
object.
-
setTheDate
public void setTheDate(java.lang.String theDate)
Setter for the field
theDate
.- Parameters:
theDate
- aString
object.
-
getUser
public java.lang.String getUser()
Getter for the field
user
.- Returns:
- a
String
object.
-
setUser
public void setUser(java.lang.String user)
Setter for the field
user
.- Parameters:
user
- aString
object.
-
getReportRequestDate
public java.util.Date getReportRequestDate()
Getter for the field
reportRequestDate
.- Returns:
- a
Date
object.
-
setReportRequestDate
public void setReportRequestDate(java.util.Date reportRequestDate)
Setter for the field
reportRequestDate
.- Parameters:
reportRequestDate
- aDate
object.
-
setRwsConfig
public void setRwsConfig(RWSConfig rwsConfig)
setRwsConfig
- Parameters:
rwsConfig
- aRWSConfig
object.
-
getBaseDir
public java.lang.String getBaseDir()
getBaseDir
- Returns:
- a
String
object.
-
setBaseDir
public void setBaseDir(java.lang.String baseDir)
setBaseDir
- Parameters:
baseDir
- aString
object.
-
afterPropertiesSet
public void afterPropertiesSet() throws java.lang.Exception
afterPropertiesSet
- Specified by:
afterPropertiesSet
in interfaceorg.springframework.beans.factory.InitializingBean
- Throws:
java.lang.Exception
- if any.
-
calculate
public void calculate()
calculate
-
writeXML
public void writeXML() throws ConfigurationCalculationException
writeXML
- Throws:
ConfigurationCalculationException
- if any.
-
marshal
public void marshal(java.io.File outputFile) throws ConfigurationCalculationException
marshal
- Parameters:
outputFile
- aFile
object.- Throws:
ConfigurationCalculationException
- if any.
-
-