Class ListField
java.lang.Object
org.graylog2.plugin.configuration.fields.AbstractConfigurationField
org.graylog2.plugin.configuration.fields.ListField
- 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
ConstructorDescriptionListField
(String name, String humanName, List<String> defaultValue, String description, ConfigurationField.Optional isOptional) ListField
(String name, String humanName, List<String> defaultValue, Map<String, String> values, String description, ConfigurationField.Optional isOptional, int position, ListField.Attribute... attributes) ListField
(String name, String humanName, List<String> defaultValue, Map<String, String> values, String description, ConfigurationField.Optional isOptional, ListField.Attribute... attributes) -
Method Summary
Methods inherited from class org.graylog2.plugin.configuration.fields.AbstractConfigurationField
getDescription, getFieldType, getHumanName, getName, getPosition, isEncrypted, isOptional
-
Field Details
-
FIELD_TYPE
- See Also:
-
-
Constructor Details
-
ListField
-
ListField
public ListField(String name, String humanName, List<String> defaultValue, Map<String, String> values, String description, ConfigurationField.Optional isOptional, ListField.Attribute... attributes) -
ListField
public ListField(String name, String humanName, List<String> defaultValue, Map<String, String> values, String description, ConfigurationField.Optional isOptional, int position, ListField.Attribute... attributes)
-
-
Method Details
-
getDefaultValue
-
setDefaultValue
-
getAdditionalInformation
- Specified by:
getAdditionalInformation
in interfaceConfigurationField
- Overrides:
getAdditionalInformation
in classAbstractConfigurationField
-
getAttributes
- Specified by:
getAttributes
in interfaceConfigurationField
- Overrides:
getAttributes
in classAbstractConfigurationField
-