public enum SortStyle extends Enum<SortStyle>
Enum Constant and Description |
---|
ID |
INTERFACE |
LOCATION |
NODE |
NODE_LOCATION |
PAGETIME |
RESPONDER |
RESPONDTIME |
REVERSE_ID |
REVERSE_INTERFACE |
REVERSE_LOCATION |
REVERSE_NODE |
REVERSE_NODE_LOCATION |
REVERSE_PAGETIME |
REVERSE_RESPONDER |
REVERSE_RESPONDTIME |
REVERSE_SERVICE |
REVERSE_SEVERITY |
SERVICE |
SEVERITY |
Modifier and Type | Field and Description |
---|---|
static SortStyle |
DEFAULT_SORT_STYLE
Constant
DEFAULT_SORT_STYLE |
Modifier and Type | Method and Description |
---|---|
String |
getName()
getName
|
protected String |
getOrderByClause()
Convenience method for getting the SQL ORDER BY clause related
to a given sort style.
|
String |
getShortName()
getShortName
|
static SortStyle |
getSortStyle(String sortStyleString)
getSortStyle
|
String |
toString()
toString
|
static SortStyle |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SortStyle[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SortStyle LOCATION
public static final SortStyle RESPONDER
public static final SortStyle PAGETIME
public static final SortStyle RESPONDTIME
public static final SortStyle NODE
public static final SortStyle NODE_LOCATION
public static final SortStyle INTERFACE
public static final SortStyle SERVICE
public static final SortStyle ID
public static final SortStyle SEVERITY
public static final SortStyle REVERSE_LOCATION
public static final SortStyle REVERSE_RESPONDER
public static final SortStyle REVERSE_PAGETIME
public static final SortStyle REVERSE_RESPONDTIME
public static final SortStyle REVERSE_NODE
public static final SortStyle REVERSE_NODE_LOCATION
public static final SortStyle REVERSE_INTERFACE
public static final SortStyle REVERSE_SERVICE
public static final SortStyle REVERSE_ID
public static final SortStyle REVERSE_SEVERITY
public static final SortStyle DEFAULT_SORT_STYLE
DEFAULT_SORT_STYLE
public static SortStyle[] values()
for (SortStyle c : SortStyle.values()) System.out.println(c);
public static SortStyle 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 String toString()
toString
Copyright © 2021. All rights reserved.