public static enum AlertComparator.Field extends Enum<AlertComparator.Field>
| Enum Constant and Description |
|---|
ALERT_ID |
CONTEXT |
CTIME |
SEVERITY |
STATUS |
TRIGGER_DESCRIPTION |
TRIGGER_ID |
TRIGGER_NAME |
| Modifier and Type | Method and Description |
|---|---|
static AlertComparator.Field |
getField(String text) |
String |
getText() |
static AlertComparator.Field |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AlertComparator.Field[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AlertComparator.Field ALERT_ID
public static final AlertComparator.Field TRIGGER_DESCRIPTION
public static final AlertComparator.Field TRIGGER_ID
public static final AlertComparator.Field TRIGGER_NAME
public static final AlertComparator.Field CTIME
public static final AlertComparator.Field SEVERITY
public static final AlertComparator.Field STATUS
public static final AlertComparator.Field CONTEXT
public static AlertComparator.Field[] values()
for (AlertComparator.Field c : AlertComparator.Field.values()) System.out.println(c);
public static AlertComparator.Field 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 getText()
public static AlertComparator.Field getField(String text)
Copyright © 2015 Red Hat, Inc.. All rights reserved.