Class NonnullPluginConfig
java.lang.Object
com.vaadin.hilla.parser.plugins.nonnull.NonnullPluginConfig
- All Implemented Interfaces:
PluginConfiguration,ConfigList<AnnotationMatcher>
public class NonnullPluginConfig
extends Object
implements ConfigList<AnnotationMatcher>, PluginConfiguration
-
Constructor Summary
ConstructorsConstructorDescriptionNonnullPluginConfig(Collection<AnnotationMatcher> use, Collection<AnnotationMatcher> disable) -
Method Summary
Modifier and TypeMethodDescriptionGets a list of default options the user wants to disable.Gets a list of custom options the user wants to use.booleanIndicates if the user wants to disable all default options.
-
Constructor Details
-
NonnullPluginConfig
public NonnullPluginConfig() -
NonnullPluginConfig
public NonnullPluginConfig(Collection<AnnotationMatcher> use, Collection<AnnotationMatcher> disable)
-
-
Method Details
-
getDisabledOptions
Description copied from interface:ConfigListGets a list of default options the user wants to disable.- Specified by:
getDisabledOptionsin interfaceConfigList<AnnotationMatcher>- Returns:
- a list of disabled options.
-
getUsedOptions
Description copied from interface:ConfigListGets a list of custom options the user wants to use.- Specified by:
getUsedOptionsin interfaceConfigList<AnnotationMatcher>- Returns:
- a list of used options.
-
shouldAllDefaultsBeDisabled
public boolean shouldAllDefaultsBeDisabled()Description copied from interface:ConfigListIndicates if the user wants to disable all default options.- Specified by:
shouldAllDefaultsBeDisabledin interfaceConfigList<AnnotationMatcher>- Returns:
- a flag of disabling all the default options.
-