Class DefaultSettingsValidator
java.lang.Object
org.apache.maven.settings.validation.DefaultSettingsValidator
- All Implemented Interfaces:
SettingsValidator
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
validate
(Settings settings, boolean isProjectSettings, SettingsProblemCollector problems) Validate the specified settings.void
validate
(Settings settings, SettingsProblemCollector problems) Validate the specified settings.
-
Constructor Details
-
DefaultSettingsValidator
public DefaultSettingsValidator()
-
-
Method Details
-
validate
Description copied from interface:SettingsValidator
Validate the specified settings.- Specified by:
validate
in interfaceSettingsValidator
- Parameters:
settings
- The settings to validate, must not benull
.problems
- The container used to collect problems that were encountered, must not benull
.
-
validate
public void validate(Settings settings, boolean isProjectSettings, SettingsProblemCollector problems) Description copied from interface:SettingsValidator
Validate the specified settings.- Specified by:
validate
in interfaceSettingsValidator
- Parameters:
settings
- The settings to validate, must not benull
.isProjectSettings
- Boolean indicating if the validation is for project settings or user / global settings.problems
- The container used to collect problems that were encountered, must not benull
.
-