info.magnolia.module.model.reader
Interface DependencyChecker
- All Known Implementing Classes:
- DependencyCheckerImpl
public interface DependencyChecker
Utility class to check dependencies between instances of ModuleDescriptors and sort them according to
their dependencies.
- Version:
- $Revision: $ ($Author: $)
- Author:
- gjoseph
checkDependencies
void checkDependencies(java.util.Map<java.lang.String,ModuleDefinition> moduleDefinitions)
throws ModuleDependencyException
- Checks dependencies between the given modules, throws a ModuleDependencyException if there is
a dependency mismatch.
- Parameters:
moduleDefinitions
- a Map where the key is the module name.
- Throws:
ModuleDependencyException
sortByDependencyLevel
java.util.List<ModuleDefinition> sortByDependencyLevel(java.util.Map<java.lang.String,ModuleDefinition> moduleDefinitions)
- Parameters:
moduleDefinitions
- a Map where the key is the module name.
Copyright © 2003-2011 Magnolia International Ltd.. All Rights Reserved.