public enum ItemInstanceComparator extends java.lang.Enum<ItemInstanceComparator> implements java.util.Comparator<WorkItemInstance>
Enum Constant and Description |
---|
CompletionTime |
EnabledTime |
ItemID |
Service |
StartTime |
Status |
TaskID |
TimerExpiry |
TimerStatus |
Modifier and Type | Method and Description |
---|---|
static java.util.Comparator<WorkItemInstance> |
descending(java.util.Comparator<WorkItemInstance> other) |
static java.util.Comparator<WorkItemInstance> |
getComparator(ItemInstanceComparator... multipleOptions) |
static java.util.Comparator<WorkItemInstance> |
getComparator(ItemOrder itemOrder) |
static ItemInstanceComparator |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ItemInstanceComparator[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
compare, comparing, comparing, comparingDouble, comparingInt, comparingLong, equals, naturalOrder, nullsFirst, nullsLast, reversed, reverseOrder, thenComparing, thenComparing, thenComparing, thenComparingDouble, thenComparingInt, thenComparingLong
public static final ItemInstanceComparator ItemID
public static final ItemInstanceComparator TaskID
public static final ItemInstanceComparator Status
public static final ItemInstanceComparator Service
public static final ItemInstanceComparator EnabledTime
public static final ItemInstanceComparator StartTime
public static final ItemInstanceComparator CompletionTime
public static final ItemInstanceComparator TimerStatus
public static final ItemInstanceComparator TimerExpiry
public static ItemInstanceComparator[] values()
for (ItemInstanceComparator c : ItemInstanceComparator.values()) System.out.println(c);
public static ItemInstanceComparator valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic static java.util.Comparator<WorkItemInstance> descending(java.util.Comparator<WorkItemInstance> other)
public static java.util.Comparator<WorkItemInstance> getComparator(ItemInstanceComparator... multipleOptions)
public static java.util.Comparator<WorkItemInstance> getComparator(ItemOrder itemOrder)
Copyright © 2004-2014 The YAWL Foundation.