public enum SortStrategy extends Enum<SortStrategy>
NotificationEntry objects within a
NotificationCategory. Sorting options are typically based on
strongly-typed member variables. Non-null values always come before null
values.| Modifier and Type | Method and Description |
|---|---|
abstract Comparator<NotificationEntry> |
getComparator() |
static SortStrategy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortStrategy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortStrategy PRIORITY
public static final SortStrategy DUE_DATE
public static SortStrategy[] values()
for (SortStrategy c : SortStrategy.values()) System.out.println(c);
public static SortStrategy valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic abstract Comparator<NotificationEntry> getComparator()
Copyright © 2016 Jasig. All Rights Reserved.