Class NumberField
java.lang.Object
org.graylog2.plugin.configuration.fields.AbstractConfigurationField
org.graylog2.plugin.configuration.fields.NumberField
- All Implemented Interfaces:
ConfigurationField
-
Nested Class Summary
Nested classes/interfaces inherited from interface org.graylog2.plugin.configuration.fields.ConfigurationField
ConfigurationField.Optional
-
Field Summary
Fields inherited from class org.graylog2.plugin.configuration.fields.AbstractConfigurationField
description, field_type, humanName, isEncrypted, name, optional, position
Fields inherited from interface org.graylog2.plugin.configuration.fields.ConfigurationField
DEFAULT_IS_ENCRYPTED, DEFAULT_POSITION, PLACE_AT_END_POSITION
-
Constructor Summary
ConstructorDescriptionNumberField
(String name, String humanName, double defaultValue, String description, ConfigurationField.Optional isOptional) NumberField
(String name, String humanName, double defaultValue, String description, ConfigurationField.Optional isOptional, int position, NumberField.Attribute... attributes) NumberField
(String name, String humanName, double defaultValue, String description, ConfigurationField.Optional isOptional, NumberField.Attribute... attributes) NumberField
(String name, String humanName, double defaultValue, String description, NumberField.Attribute... attributes) NumberField
(String name, String humanName, int defaultValue, String description, ConfigurationField.Optional isOptional) NumberField
(String name, String humanName, int defaultValue, String description, ConfigurationField.Optional isOptional, int position, NumberField.Attribute... attributes) NumberField
(String name, String humanName, int defaultValue, String description, ConfigurationField.Optional isOptional, NumberField.Attribute... attributes) NumberField
(String name, String humanName, int defaultValue, String description, NumberField.Attribute... attributes) -
Method Summary
Methods inherited from class org.graylog2.plugin.configuration.fields.AbstractConfigurationField
getAdditionalInformation, getDescription, getFieldType, getHumanName, getName, getPosition, isEncrypted, isOptional
-
Field Details
-
FIELD_TYPE
- See Also:
-
-
Constructor Details
-
NumberField
public NumberField(String name, String humanName, int defaultValue, String description, ConfigurationField.Optional isOptional) -
NumberField
public NumberField(String name, String humanName, double defaultValue, String description, ConfigurationField.Optional isOptional) -
NumberField
public NumberField(String name, String humanName, int defaultValue, String description, NumberField.Attribute... attributes) -
NumberField
public NumberField(String name, String humanName, double defaultValue, String description, NumberField.Attribute... attributes) -
NumberField
public NumberField(String name, String humanName, int defaultValue, String description, ConfigurationField.Optional isOptional, NumberField.Attribute... attributes) -
NumberField
public NumberField(String name, String humanName, double defaultValue, String description, ConfigurationField.Optional isOptional, NumberField.Attribute... attributes) -
NumberField
public NumberField(String name, String humanName, int defaultValue, String description, ConfigurationField.Optional isOptional, int position, NumberField.Attribute... attributes) -
NumberField
public NumberField(String name, String humanName, double defaultValue, String description, ConfigurationField.Optional isOptional, int position, NumberField.Attribute... attributes)
-
-
Method Details
-
getDefaultValue
-
setDefaultValue
-
getAttributes
- Specified by:
getAttributes
in interfaceConfigurationField
- Overrides:
getAttributes
in classAbstractConfigurationField
-