Class TextField
java.lang.Object
org.graylog2.plugin.configuration.fields.AbstractConfigurationField
org.graylog2.plugin.configuration.fields.TextField
- 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
ConstructorDescriptionTextField
(String name, String humanName, String defaultValue, String description, ConfigurationField.Optional isOptional) TextField
(String name, String humanName, String defaultValue, String description, ConfigurationField.Optional isOptional, boolean isEncrypted, int position, TextField.Attribute... attrs) TextField
(String name, String humanName, String defaultValue, String description, ConfigurationField.Optional isOptional, boolean isEncrypted, TextField.Attribute... attrs) TextField
(String name, String humanName, String defaultValue, String description, ConfigurationField.Optional isOptional, int position, TextField.Attribute... attrs) TextField
(String name, String humanName, String defaultValue, String description, ConfigurationField.Optional isOptional, TextField.Attribute... attrs) TextField
(String name, String humanName, String defaultValue, String description, TextField.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
-
TextField
public TextField(String name, String humanName, String defaultValue, String description, ConfigurationField.Optional isOptional) -
TextField
public TextField(String name, String humanName, String defaultValue, String description, TextField.Attribute... attributes) -
TextField
public TextField(String name, String humanName, String defaultValue, String description, ConfigurationField.Optional isOptional, TextField.Attribute... attrs) -
TextField
public TextField(String name, String humanName, String defaultValue, String description, ConfigurationField.Optional isOptional, int position, TextField.Attribute... attrs) -
TextField
public TextField(String name, String humanName, String defaultValue, String description, ConfigurationField.Optional isOptional, boolean isEncrypted, TextField.Attribute... attrs) -
TextField
public TextField(String name, String humanName, String defaultValue, String description, ConfigurationField.Optional isOptional, boolean isEncrypted, int position, TextField.Attribute... attrs)
-
-
Method Details
-
getDefaultValue
-
setDefaultValue
-
getAttributes
- Specified by:
getAttributes
in interfaceConfigurationField
- Overrides:
getAttributes
in classAbstractConfigurationField
-