Public Member Functions | Static Public Member Functions | Protected Member Functions

alma.acs.config.validators.ConfigFileFinder Class Reference

List of all members.

Public Member Functions

 ConfigFileFinder () throws Exception
void configureRedeemers () throws Exception
void addRedeemer (ConfigFileRedeemer redeemer)
void configureFromArgs (String[] args)
void checkConfiguration () throws IllegalStateException

Static Public Member Functions

static void main (String[] args)

Protected Member Functions

void handleConfigFile (File configFile)
void setBaseDir (File baseDir)
void setTargetDir (File targetDir)
void addFileEndings (String[] moreFileEndings)

Detailed Description

Tool that scans modules (or all of ALMA software) for files that may be configuration files and therefore should be considered for moving to a different location.

All files in and below the directory given by the option -baseDir are scanned. Those files with certain endings are suspected of being configuration files, but then some of these files get cleared if they are recognized by one of the filters which check all suspicious files. For example, a filter specialized in xml files will recognize those files used for ACS error definitions. All files that are still suspect after filtering will be reported, either by printing their pathname to stdout, or by copying them to a target directory if the -targetDir option is given.

Author:
hsommer

Constructor & Destructor Documentation

alma.acs.config.validators.ConfigFileFinder.ConfigFileFinder (  )  throws Exception

Member Function Documentation

void alma.acs.config.validators.ConfigFileFinder.addFileEndings ( String[]  moreFileEndings  )  [protected]
void alma.acs.config.validators.ConfigFileFinder.addRedeemer ( ConfigFileRedeemer  redeemer  ) 
void alma.acs.config.validators.ConfigFileFinder.checkConfiguration (  )  throws IllegalStateException
void alma.acs.config.validators.ConfigFileFinder.configureFromArgs ( String[]  args  ) 
void alma.acs.config.validators.ConfigFileFinder.configureRedeemers (  )  throws Exception
void alma.acs.config.validators.ConfigFileFinder.handleConfigFile ( File  configFile  )  [protected]
static void alma.acs.config.validators.ConfigFileFinder.main ( String[]  args  )  [static]
void alma.acs.config.validators.ConfigFileFinder.setBaseDir ( File  baseDir  )  [protected]
void alma.acs.config.validators.ConfigFileFinder.setTargetDir ( File  targetDir  )  [protected]

The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Enumerations Properties