Package org.apache.ivy.core.sort
Class ModuleDescriptorSorter
java.lang.Object
org.apache.ivy.core.sort.ModuleDescriptorSorter
Inner helper class for sorting ModuleDescriptors.
ModuleDescriptorSorter use CollectionOfModulesToSort to find the dependencies of the modules, and use ModuleInSort to store some temporary values attached to the modules to sort.
- See Also:
-
ModuleInSort
CollectionOfModulesToSort
-
Constructor Summary
ConstructorsConstructorDescriptionModuleDescriptorSorter
(Collection<ModuleDescriptor> modulesDescriptorsToSort, VersionMatcher matcher, NonMatchingVersionReporter nonMatchingVersionReporter, CircularDependencyStrategy circularDepStrategy) -
Method Summary
Modifier and TypeMethodDescriptionIterates over all modules calling sortModuleDescriptorsHelp.
-
Constructor Details
-
ModuleDescriptorSorter
public ModuleDescriptorSorter(Collection<ModuleDescriptor> modulesDescriptorsToSort, VersionMatcher matcher, NonMatchingVersionReporter nonMatchingVersionReporter, CircularDependencyStrategy circularDepStrategy)
-
-
Method Details
-
sortModuleDescriptors
Iterates over all modules calling sortModuleDescriptorsHelp.- Returns:
- sorted module
- Throws:
CircularDependencyException
- somehow
-