Interface SettingsValidator

All Known Implementing Classes:
DefaultSettingsValidator

@Deprecated(since="4.0.0") public interface SettingsValidator
Deprecated.
since 4.0.0, use org.apache.maven.impl.DefaultSettingsValidator instead
Validate a model settings
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    validate(org.apache.maven.settings.Settings settings, boolean isProjectSettings, SettingsProblemCollector problems)
    Deprecated.
    Validate the specified settings.
    void
    validate(org.apache.maven.settings.Settings settings, SettingsProblemCollector problems)
    Deprecated.
    Validate the specified settings.
  • Method Details

    • validate

      void validate(org.apache.maven.settings.Settings settings, SettingsProblemCollector problems)
      Deprecated.
      Validate the specified settings.
      Parameters:
      settings - The settings to validate, must not be null.
      problems - The container used to collect problems that were encountered, must not be null.
    • validate

      default void validate(org.apache.maven.settings.Settings settings, boolean isProjectSettings, SettingsProblemCollector problems)
      Deprecated.
      Validate the specified settings.
      Parameters:
      settings - The settings to validate, must not be null.
      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 be null.