Class AssignmentRules


  • public final class AssignmentRules
    extends Object
    Author:
    cl
    • Method Detail

      • sortAssignmentRulesByPriority

        public static List<AssignmentRule> sortAssignmentRulesByPriority​(List<AssignmentRule> assignmentRules)
        It is possible, that 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.
        Parameters:
        assignmentRules - The AssignmentRules to sort.
        Returns:
        A list of AssignmentRules sorted by the calculation priority.