public static enum NumberField.Attribute extends Enum<NumberField.Attribute>
Enum Constant and Description |
---|
IS_PORT_NUMBER |
ONLY_NEGATIVE |
ONLY_POSITIVE |
Modifier and Type | Method and Description |
---|---|
static NumberField.Attribute |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static NumberField.Attribute[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final NumberField.Attribute ONLY_POSITIVE
public static final NumberField.Attribute ONLY_NEGATIVE
public static final NumberField.Attribute IS_PORT_NUMBER
public static NumberField.Attribute[] values()
for (NumberField.Attribute c : NumberField.Attribute.values()) System.out.println(c);
public static NumberField.Attribute 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 nullCopyright © 2012–2021 Graylog, Inc.. All rights reserved.