- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 406 for severity (0.05 sec)
-
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/DefaultSettingsProblem.java
*/ public DefaultSettingsProblem( String message, Severity severity, String source, int lineNumber, int columnNumber, Exception exception) { this.message = message; this.severity = (severity != null) ? severity : Severity.ERROR; this.source = (source != null) ? source : ""; this.lineNumber = lineNumber;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java
public DefaultModelProblem( String message, Severity severity, Version version, String source, int lineNumber, int columnNumber, String modelId, Exception exception) { this.message = message; this.severity = (severity != null) ? severity : Severity.ERROR; this.source = (source != null) ? source : "";
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.7K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
addViolation(problems, Severity.valueOf(problem.getSeverity().name()), problem.getMessage()); } } // ---------------------------------------------------------------------- // Field validation // ---------------------------------------------------------------------- private static void addViolation(SettingsProblemCollector problems, Severity severity, String message) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/crypto/DefaultSettingsDecrypter.java
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; /** * Decrypts passwords in the settings. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.8K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java
* */ public interface ProblemCollector { /** * Adds the specified problem. * Either message or exception is required * * @param severity The severity of the problem, must not be {@code null}. * @param message The detail message of the problem, may be {@code null}. * @param line The one-based index of the line containing the problem or {@code -1} if unknown.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.9K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemTest.java
assertEquals(Severity.ERROR, problem.getSeverity()); problem = new DefaultProblem(null, Severity.FATAL, null, -1, -1, null); assertEquals(Severity.FATAL, problem.getSeverity()); problem = new DefaultProblem(null, Severity.ERROR, null, -1, -1, null); assertEquals(Severity.ERROR, problem.getSeverity());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblemCollectorRequest.java
* @param severity * @param version */ public ModelProblemCollectorRequest(Severity severity, Version version) { this.severity = Objects.requireNonNull(severity, "severity cannot be null"); this.version = Objects.requireNonNull(version, "version cannot be null"); } public Severity getSeverity() { return severity; } public Version getVersion() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.5K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java
* * @return The message describing this problem, never {@code null}. */ String getMessage(); /** * Gets the severity level of this problem. * * @return The severity level of this problem, never {@code null}. */ Severity getSeverity();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java
boolean hasFatalErrors(); default void add(BuilderProblem.Severity severity, ModelProblem.Version version, String message) { add(severity, version, message, null, null); } default void add( BuilderProblem.Severity severity, ModelProblem.Version version, String message, InputLocation location) { add(severity, version, message, location, null); } default void add(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.8K bytes - Viewed (0) -
compat/maven-builder-support/src/test/java/org/apache/maven/building/DefaultProblemCollectorTest.java
collector.add(null, "MESSAGE1", -1, -1, null); Exception e2 = new Exception(); collector.add(Severity.WARNING, null, 42, 127, e2); assertEquals(2, collector.getProblems().size()); Problem p1 = collector.getProblems().get(0); assertEquals(Severity.ERROR, p1.getSeverity()); assertEquals("MESSAGE1", p1.getMessage()); assertEquals(-1, p1.getLineNumber());
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.7K bytes - Viewed (0)