public abstract class RequirementSolver extends Object
| Modifier and Type | Method and Description |
|---|---|
static <T extends RequirementHolder> |
solve(Collection<T> elements)
Sorts the given list of requirements in a manner that honors the given relationships.
|
static List<List<? extends RequirementHolder>> |
solveParallel(Collection<? extends RequirementHolder> elements)
return a list of list's with tasks that contains either one RequirementHolder or multiple one's, if they can be
processed together at a time (which means they have no dependencies between each other) This can be used for
parallel computing..
|
public static List<List<? extends RequirementHolder>> solveParallel(Collection<? extends RequirementHolder> elements) throws RequirementSolverException
RequirementSolverExceptionpublic static <T extends RequirementHolder> List<T> solve(Collection<T> elements) throws RequirementSolverException
elements - a list of RequirementHolders (e.g.: ExtensionInfo)RequirementSolverException - if there are cycles detected.Copyright © 2017 SAP SE. All Rights Reserved.