public class ModuleDescriptorSorter
extends java.lang.Object
ModuleDescriptorSorter use CollectionOfModulesToSort to find the dependencies of the modules, and use ModuleInSort to store some temporary values attached to the modules to sort.
ModuleInSort
,
CollectionOfModulesToSort
Constructor and Description |
---|
ModuleDescriptorSorter(java.util.Collection<ModuleDescriptor> modulesDescriptorsToSort,
VersionMatcher matcher,
NonMatchingVersionReporter nonMatchingVersionReporter,
CircularDependencyStrategy circularDepStrategy) |
Modifier and Type | Method and Description |
---|---|
java.util.List<ModuleDescriptor> |
sortModuleDescriptors()
Iterates over all modules calling sortModuleDescriptorsHelp.
|
public ModuleDescriptorSorter(java.util.Collection<ModuleDescriptor> modulesDescriptorsToSort, VersionMatcher matcher, NonMatchingVersionReporter nonMatchingVersionReporter, CircularDependencyStrategy circularDepStrategy)
public java.util.List<ModuleDescriptor> sortModuleDescriptors() throws CircularDependencyException
CircularDependencyException
- somehowCopyright ©2007-2020 The Apache Software Foundation, Licensed under Apache License, Version 2.0.