public class HighestPrioritySorter extends Object implements PrioritySorter
WorkflowProcessor#getPriority()
in
reverse natural order.Constructor and Description |
---|
HighestPrioritySorter() |
Modifier and Type | Method and Description |
---|---|
void |
sort(List<WorkflowProcessor> candidates)
Sorts the
List of WorkflowProcessor s that are ready to run
in a particular order specified by the sub-class implementing this method. |
public void sort(List<WorkflowProcessor> candidates)
PrioritySorter
List
of WorkflowProcessor
s that are ready to run
in a particular order specified by the sub-class implementing this method.sort
in interface PrioritySorter
candidates
- The List
of WorkflowProcessor
s to sort in priority
order.Copyright © 1999-2015 Apache OODT. All Rights Reserved.