alma::acs::config::validators::ConfigFileRedeemerTestDir Class Reference

Inheritance diagram for alma::acs::config::validators::ConfigFileRedeemerTestDir:
Inheritance graph
[legend]
Collaboration diagram for alma::acs::config::validators::ConfigFileRedeemerTestDir:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 ConfigFileRedeemerTestDir (Logger logger)
String[] getFileEndings ()

Static Public Attributes

static final String testDirName = File.separator + "test" + File.separator
static final String srcDirName = File.separator + "src" + File.separator

Protected Member Functions

boolean _isNotAConfigFile (File file)

Detailed Description

Redeems all files that are located underneath a module's test directorie(s). To determine whether a directory is a module's test dir, this class uses the heuristics that the name must be "test", that it must contain a Makefile, and that there be a sibling directory "src" which must also contain a Makefile.

Author:
hsommer

Constructor & Destructor Documentation

alma::acs::config::validators::ConfigFileRedeemerTestDir::ConfigFileRedeemerTestDir ( Logger  logger  )  [inline]

Member Function Documentation

boolean alma::acs::config::validators::ConfigFileRedeemerTestDir::_isNotAConfigFile ( File  file  )  [inline, protected, virtual]

Called by isNotAConfigFile(File) only if the file ending matches one of the endings in getFileEndings().

Implements alma::acs::config::validators::ConfigFileRedeemer.

References srcDirName, and testDirName.

String [] alma::acs::config::validators::ConfigFileRedeemerTestDir::getFileEndings (  )  [inline, virtual]

Returns null so that it gets to redeem any kind of file which is under a module's test dir.

Implements alma::acs::config::validators::ConfigFileRedeemer.


Member Data Documentation

final String alma::acs::config::validators::ConfigFileRedeemerTestDir::srcDirName = File.separator + "src" + File.separator [static]

Referenced by _isNotAConfigFile().

final String alma::acs::config::validators::ConfigFileRedeemerTestDir::testDirName = File.separator + "test" + File.separator [static]

Referenced by _isNotAConfigFile().


The documentation for this class was generated from the following file:

Generated by  doxygen 1.6.2