org.apache.ivy.core.sort
public class SortEngine extends Object
| Constructor Summary | |
|---|---|
| SortEngine(SortEngineSettings settings) | |
| Method Summary | |
|---|---|
| protected CircularDependencyStrategy | getCircularStrategy() |
| protected VersionMatcher | getVersionMatcher() |
| List | sortModuleDescriptors(Collection moduleDescriptors, SortOptions options)
Sorts the given ModuleDescriptors from the less dependent to the more dependent. |
| List | sortNodes(Collection nodes, SortOptions options) |
Parameters: moduleDescriptors a Collection of ModuleDescriptor to sort options Options to use to sort the descriptors.
Returns: a List of sorted ModuleDescriptors
Throws: CircularDependencyException if a circular dependency exists and circular dependency strategy decide to throw an exception