public class WorkflowInstanceStateComparator extends OrderByComparator<WorkflowInstance>
Constructor and Description |
---|
WorkflowInstanceStateComparator(boolean ascending,
String orderByAsc,
String orderByDesc,
String[] orderByFields) |
Modifier and Type | Method and Description |
---|---|
int |
compare(WorkflowInstance workflowInstance1,
WorkflowInstance workflowInstance2) |
String |
getOrderBy() |
String[] |
getOrderByFields() |
boolean |
isAscending() |
getOrderByConditionFields, getOrderByConditionValues, isAscending, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public int compare(WorkflowInstance workflowInstance1, WorkflowInstance workflowInstance2)
public String getOrderBy()
getOrderBy
in class OrderByComparator<WorkflowInstance>
public String[] getOrderByFields()
getOrderByFields
in class OrderByComparator<WorkflowInstance>
public boolean isAscending()
isAscending
in class OrderByComparator<WorkflowInstance>