public final class AssignmentRules extends Object
| Modifier and Type | Method and Description |
|---|---|
static List<AssignmentRule> |
sortAssignmentRulesByPriority(List<AssignmentRule> assignmentRules)
It is possible, that certain
AssignmentRules depend on each other. |
public static List<AssignmentRule> sortAssignmentRulesByPriority(List<AssignmentRule> assignmentRules)
AssignmentRules depend on each other. So they have to be executed in a
certain order. This method checks the dependencies of the AssignmentRules in the supplied list and returns a
sorted list that is ordered by calculation priority. So the rules on top of the list should be calculated first.assignmentRules - The AssignmentRules to sort.Copyright © 2017. All rights reserved.