Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 16 for SettingsProblem (0.09 sec)

  1. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java

     * that exhibits the problem.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public interface SettingsProblem {
    
        /**
         * The different severity levels for a problem, in decreasing order.
         */
        enum Severity {
            FATAL, //
            ERROR, //
            WARNING //
        }
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  2. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingException.java

    @Deprecated(since = "4.0.0")
    public class SettingsBuildingException extends Exception {
    
        private final List<SettingsProblem> problems;
    
        /**
         * Creates a new exception with the specified problems.
         *
         * @param problems The problems that cause this exception, may be {@code null}.
         */
        public SettingsBuildingException(List<SettingsProblem> problems) {
            super(toMessage(problems));
    
            this.problems = new ArrayList<>();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  3. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecryptionResult.java

    import org.apache.maven.settings.building.SettingsProblem;
    
    /**
     * Collects the output of the settings decrypter.
     *
     * @deprecated since 4.0.0
     */
    @Deprecated(since = "4.0.0")
    class DefaultSettingsDecryptionResult implements SettingsDecryptionResult {
    
        private List<Server> servers;
    
        private List<Proxy> proxies;
    
        private List<SettingsProblem> problems;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  4. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblemCollector.java

    class DefaultSettingsProblemCollector implements SettingsProblemCollector {
    
        private List<SettingsProblem> problems;
    
        private String source;
    
        DefaultSettingsProblemCollector(List<SettingsProblem> problems) {
            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        public List<SettingsProblem> getProblems() {
            return problems;
        }
    
        public void setSource(String source) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  5. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java

     * that exhibits the problem.
     *
     * @deprecated since 4.0.0, use {@link org.apache.maven.api.services.SettingsBuilder} instead
     */
    @Deprecated(since = "4.0.0")
    public class DefaultSettingsProblem implements SettingsProblem {
    
        private final String source;
    
        private final int lineNumber;
    
        private final int columnNumber;
    
        private final String message;
    
        private final Exception exception;
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.4K bytes
    - Viewed (0)
  6. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java

    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Server;
    import org.apache.maven.settings.building.DefaultSettingsProblem;
    import org.apache.maven.settings.building.SettingsProblem;
    import org.apache.maven.settings.building.SettingsProblem.Severity;
    import org.codehaus.plexus.components.secdispatcher.SecDispatcher;
    import org.codehaus.plexus.components.secdispatcher.SecDispatcherException;
    
    /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuildingResult.java

     */
    @Deprecated(since = "4.0.0")
    class DefaultSettingsBuildingResult implements SettingsBuildingResult {
    
        private Settings effectiveSettings;
    
        private List<SettingsProblem> problems;
    
        DefaultSettingsBuildingResult(Settings effectiveSettings, List<SettingsProblem> problems) {
            this.effectiveSettings = effectiveSettings;
            this.problems = (problems != null) ? problems : new ArrayList<>();
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  8. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/SettingsDecryptionResult.java

     */
    package org.apache.maven.settings.crypto;
    
    import java.util.List;
    
    import org.apache.maven.settings.Proxy;
    import org.apache.maven.settings.Server;
    import org.apache.maven.settings.building.SettingsProblem;
    
    /**
     * Collects the output of the settings decrypter.
     *
     * @deprecated since 4.0.0
     */
    @Deprecated(since = "4.0.0")
    public interface SettingsDecryptionResult {
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 2.1K bytes
    - Viewed (0)
  9. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsBuildingResult.java

         * {@link SettingsProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause
         * the settings builder to fail with a {@link SettingsBuildingException}.
         *
         * @return The problems that were encountered during the settings building, can be empty but never {@code null}.
         */
        List<SettingsProblem> getProblems();
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.8K bytes
    - Viewed (0)
  10. compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsBuilder.java

                return null;
            }
        }
    
        private List<SettingsProblem> convert(List<BuilderProblem> problems) {
            return problems.stream().map(this::convert).toList();
        }
    
        private SettingsProblem convert(BuilderProblem problem) {
            return new DefaultSettingsProblem(
                    problem.getMessage(),
                    SettingsProblem.Severity.valueOf(problem.getSeverity().name()),
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top