|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.sf.statcvs.output.ConfigurationOptions
Class for storing all command line parameters. The parameters
are set by the Main#main
method. Interested classes
can read all parameter values from here.
Field Summary | |
static java.lang.String |
LOGGING_CONFIG_DEBUG
Used with setLoggingProperties(java.lang.String) , enables
debug logging |
static java.lang.String |
LOGGING_CONFIG_DEFAULT
Used with setLoggingProperties(java.lang.String) , enables
default logging |
static java.lang.String |
LOGGING_CONFIG_VERBOSE
Used with setLoggingProperties(java.lang.String) , enables
verbose logging |
Constructor Summary | |
ConfigurationOptions()
|
Method Summary | |
static void |
checkDirsAndFiles()
Checks the specified input files, directories etc. |
static java.lang.String |
getCheckedOutDirectory()
Method getCheckedOutDirectory. |
static CssHandler |
getCssHandler()
returns the CssHandler |
static java.lang.String |
getLogFileName()
Method getLogfilename. |
static java.lang.String |
getLoggingProperties()
Gets the name of the logging properties file |
static java.lang.String |
getOutputDir()
Returns the outputDir. |
static java.lang.String |
getProjectName()
Method getProjectName. |
static boolean |
getShowCreditInformation()
Returns whether the credit information should be shown |
static void |
setCheckedOutDirectory(java.lang.String checkedOutDirectory)
Sets the checkedOutDirectory. |
static void |
setCssFile(java.lang.String cssFile)
Sets the cssFile. |
static void |
setLogFileName(java.lang.String logFileName)
Sets the logFileName. |
static void |
setLoggingProperties(java.lang.String loggingProperties)
Sets the name of the logging properties file |
static void |
setOutputDir(java.lang.String outputDir)
Sets the outputDir. |
static void |
setProjectName(java.lang.String projectName)
Sets the projectName. |
static void |
setShowCreditInformation(boolean enable)
Enabe or disable the credit information in the generated charts |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final java.lang.String LOGGING_CONFIG_DEFAULT
setLoggingProperties(java.lang.String)
, enables
default logging
public static final java.lang.String LOGGING_CONFIG_VERBOSE
setLoggingProperties(java.lang.String)
, enables
verbose logging
public static final java.lang.String LOGGING_CONFIG_DEBUG
setLoggingProperties(java.lang.String)
, enables
debug logging
Constructor Detail |
public ConfigurationOptions()
Method Detail |
public static CssHandler getCssHandler()
CssHandler
public static java.lang.String getProjectName()
public static java.lang.String getCheckedOutDirectory()
public static java.lang.String getLogFileName()
public static java.lang.String getOutputDir()
public static boolean getShowCreditInformation()
public static void setCheckedOutDirectory(java.lang.String checkedOutDirectory)
checkedOutDirectory
- The checkedOutDirectory to setpublic static void setCssFile(java.lang.String cssFile) throws java.lang.IllegalArgumentException
cssFile
- The cssFile to set
java.lang.IllegalArgumentException
- if the specified CSS file can not be
accessed from local file system or from URL sourcepublic static void setLogFileName(java.lang.String logFileName)
logFileName
- The logFileName to setpublic static void setOutputDir(java.lang.String outputDir)
outputDir
- The outputDir to setpublic static void setProjectName(java.lang.String projectName)
projectName
- The projectName to setpublic static java.lang.String getLoggingProperties()
public static void setLoggingProperties(java.lang.String loggingProperties)
loggingProperties
- the name of the logging properties
filepublic static void checkDirsAndFiles() throws java.io.IOException
java.io.IOException
- if some required resource was not found
TODO: Checks should be done in the ConfigurationOptions.setXxx methods!public static void setShowCreditInformation(boolean enable)
enable
- Enabe or disable the credit information in the generated charts
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |