| Package | Description |
|---|---|
| org.unitils.core | |
| org.unitils.util |
| Modifier and Type | Method and Description |
|---|---|
<T extends Module> |
ModulesRepository.getModuleOfType(Class<T> type)
Gets the modules that is of the given type or a sub-type.
|
| Modifier and Type | Method and Description |
|---|---|
protected List<Module> |
ModulesLoader.createAndInitializeModules(List<String> moduleNames,
Properties configuration)
Creates the modules with the given class names and calls initializes them with the given configuration.
|
List<Module> |
ModulesRepository.getModules()
Gets all modules.
|
Map<Module,TestListener> |
ModulesRepository.getTestListeners()
Gets all listeners.
|
List<Module> |
ModulesLoader.loadModules(Properties configuration)
Loads all unitils modules as described in the class javadoc.
|
| Modifier and Type | Method and Description |
|---|---|
TestListener |
ModulesRepository.getTestListener(Module module)
Gets the listener corresponding to the given module.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
ModulesRepository.isModuleEnabled(Class<? extends Module> moduleClass)
Checks whether a module of a type exists.
|
| Constructor and Description |
|---|
ModulesRepository(List<Module> modules)
Creates a repository containing the given modules.
|
| Modifier and Type | Method and Description |
|---|---|
static String |
ModuleUtils.getAnnotationPropertyDefault(Class<? extends Module> moduleClass,
Class<? extends Annotation> annotationClass,
String name,
Properties configuration)
Returns the default for annotation property of the given annotation with the given name for the given moduleclass.
|
static Map<Class<? extends Annotation>,Map<String,String>> |
ModuleUtils.getAnnotationPropertyDefaults(Class<? extends Module> moduleClass,
Properties configuration,
Class<? extends Annotation>... annotationClasses)
Returns an object that represents the default values for the properties of the given annotations and the given
module.
|
Copyright © 2016. All Rights Reserved.