Pepper
3.6.0
A highly extensible plattform for conversion and manipulationoflinguisticdata.
|
A helper class for checking health and fitness of a module or a set of modules. More...
Public Member Functions | |
ModuleFitnessChecker (Pepper pepper) | |
List< ModuleFitness > | checkFitness (final Collection< PepperModule > modules) |
Returns a ModuleFitness value for each PepperModule in specified list. More... | |
ModuleFitness | checkFitness (final PepperModule module) |
Returns a ModuleFitness value for specified PepperModule. More... | |
List< ModuleFitness > | checkHealth (final Collection< PepperModule > modules) |
Returns a ModuleFitness value for each PepperModule in specified list. More... | |
ModuleFitness | checkHealth (final PepperModule module) |
Returns a ModuleFitness value for specified PepperModule. More... | |
ModuleFitness | selfTest (final PepperModule pepperModule) |
When the specified module provides a self test, the fitness feature FitnessFeature#HAS_SELFTEST is set to true and self test is ran. More... | |
Protected Member Functions | |
ModuleFitness | selfTest (final PepperModule pepperModule, ModuleFitness moduleFitness) |
When the specified module provides a self test, the fitness feature FitnessFeature#HAS_SELFTEST is set to true and self test is ran. More... | |
ModuleFitness | selfTest (final PepperModule pepperModule, ModuleFitness moduleFitness, SelfTestDesc selfTestDesc) |
When the specified module provides a self test, the fitness feature FitnessFeature#HAS_SELFTEST is set to true and self test is ran. More... | |
A helper class for checking health and fitness of a module or a set of modules.
List<ModuleFitness> org.corpus_tools.pepper.core.ModuleFitnessChecker.checkFitness | ( | final Collection< PepperModule > | modules | ) |
ModuleFitness org.corpus_tools.pepper.core.ModuleFitnessChecker.checkFitness | ( | final PepperModule | module | ) |
List<ModuleFitness> org.corpus_tools.pepper.core.ModuleFitnessChecker.checkHealth | ( | final Collection< PepperModule > | modules | ) |
Returns a ModuleFitness value for each PepperModule in specified list.
Only checks FitnessFeature#getHealthFeatures().
modules |
ModuleFitness org.corpus_tools.pepper.core.ModuleFitnessChecker.checkHealth | ( | final PepperModule | module | ) |
Returns a ModuleFitness value for specified PepperModule.
Only checks FitnessFeature#getHealthFeatures().
modules |
ModuleFitness org.corpus_tools.pepper.core.ModuleFitnessChecker.selfTest | ( | final PepperModule | pepperModule | ) |
When the specified module provides a self test, the fitness feature FitnessFeature#HAS_SELFTEST is set to true and self test is ran.
Depending on success, the following health features are set:
pepperModule | module to test |
pepper | Pepper environment to test |
|
protected |
When the specified module provides a self test, the fitness feature FitnessFeature#HAS_SELFTEST is set to true and self test is ran.
Depending on success, the following health features are set:
pepperModule | module to test |
pepper | Pepper environment to test |
moduleFitness | the ModuleFitness to be filled. |
|
protected |
When the specified module provides a self test, the fitness feature FitnessFeature#HAS_SELFTEST is set to true and self test is ran.
Depending on success, the following health features are set:
pepperModule | module to test |
pepper | Pepper environment to test |
moduleFitness | the ModuleFitness to be filled. |
selfTestDesc | The self-test description as provided by PepperModule#getSelfTestDesc() |