public enum StreamRuleType extends Enum<StreamRuleType>
| Enum Constant and Description |
|---|
EXACT |
GREATER |
PRESENCE |
REGEX |
SMALLER |
| Modifier and Type | Method and Description |
|---|---|
static StreamRuleType |
fromInteger(int numeric) |
static StreamRuleType |
fromName(String name) |
String |
getLongDesc() |
String |
getShortDesc() |
int |
getValue() |
int |
toInteger() |
static StreamRuleType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static StreamRuleType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final StreamRuleType EXACT
public static final StreamRuleType REGEX
public static final StreamRuleType GREATER
public static final StreamRuleType SMALLER
public static final StreamRuleType PRESENCE
public static StreamRuleType[] values()
for (StreamRuleType c : StreamRuleType.values()) System.out.println(c);
public static StreamRuleType 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 int toInteger()
public static StreamRuleType fromInteger(int numeric)
public static StreamRuleType fromName(String name)
public int getValue()
public String getShortDesc()
public String getLongDesc()
Copyright © 2012-2016 Graylog, Inc.. All Rights Reserved.