Public Member Functions | |
ConfigFileRedeemerFilepath (Logger logger, File baseDir) | |
String[] | getFileEndings () |
void | addRedeemedFilePathSnippet (String filePathSnippet) |
void | configure () |
Protected Member Functions | |
boolean | _isNotAConfigFile (File file) |
Private Attributes | |
List< String > | redeemedFilePathSnippets |
String | baseDirPath |
One should be careful to use path name snippets that match as accurately as possible, to avoid excluding other files whose path names unexpectedly also match. For better accuracy, you should
^
character prepended to the path name snippet set in addRedeemedFilePathSnippet(String). ^ITS
will exclude all files under /alma/src/MONTHLY-2006-03-ITER-2/ITS
if the base directory in ConfigFileFinder is given as /alma/src/MONTHLY-2006-03-ITER-2
. However it will not exclude files under mymodule/src/alma/mypackage/ITS/blabla
. test
directory in all modules, use the specialized filter ConfigFileRedeemerTestDir which not only checks whether /test/ is on the path name, but also looks for a parallel src
directory with a Makefile and thus minimizes the risk of a false match.
|
|
|
Called by isNotAConfigFile(File) only if the file ending matches one of the endings in getFileEndings(). Implements alma::acs::config::validators::ConfigFileRedeemer.
|
|
|
|
This method may be overridden by a subclass. TODO: read in from file instead of hardcoding the snippets |
|
Returns Implements alma::acs::config::validators::ConfigFileRedeemer.
|
|
|
|
|