- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 759 for severity (0.05 sec)
-
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) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/SettingsBuilderResult.java
@Nonnull Settings getEffectiveSettings(); /** * Gets the problems that were encountered during the settings building. Note that only problems of severity * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause * the settings builder to fail with a {@link SettingsBuilderException}. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.7K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ToolchainsBuilderResult.java
PersistedToolchains getEffectiveToolchains(); /** * Gets the problems that were encountered during the settings building. Note that only problems of severity * {@link BuilderProblem.Severity#WARNING} and below are reported here. Problems with a higher severity level cause * the settings builder to fail with a {@link ToolchainsBuilderException}. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Feb 28 23:54:53 UTC 2024 - 1.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java
String getMessage(); /** * Gets the severity level of this problem. * * @return the severity level of this problem, never {@code null} */ @Nonnull Severity getSeverity(); /** * The different severity levels for a problem, in decreasing order. * * @since 4.0.0 */ @Experimental enum Severity { FATAL, // ERROR, //
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Mar 23 05:29:39 UTC 2023 - 3.6K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/test/java/org/apache/maven/toolchain/building/ToolchainsBuildingExceptionTest.java
} @Test void testOneProblem() { ProblemCollector problemCollector = ProblemCollectorFactory.newInstance(null); problemCollector.add(Problem.Severity.ERROR, "MESSAGE", 3, 5, new Exception()); ToolchainsBuildingException e = new ToolchainsBuildingException(problemCollector.getProblems()); assertEquals(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.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(); /** * Gets the applicable maven version/validation level of this problem * @return The version, never {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java
} } public boolean hasFatalErrors() { return severities.contains(ModelProblem.Severity.FATAL); } public boolean hasErrors() { return severities.contains(ModelProblem.Severity.ERROR) || severities.contains(ModelProblem.Severity.FATAL); } @Override public List<ModelProblem> getProblems() { return problems; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblem.java
this.message = message; this.severity = (severity != null) ? severity : Severity.ERROR; this.source = (source != null) ? source : ""; this.lineNumber = lineNumber; this.columnNumber = columnNumber; this.exception = exception; } public String getSource() { return source;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.3K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/DefaultProblemCollector.java
} @Override public void setSource(String source) { this.source = source; } @Override public void add(Problem.Severity severity, String message, int line, int column, Exception cause) { Problem problem = new DefaultProblem(message, severity, source, line, column, cause); problems.add(problem); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.6K bytes - Viewed (0) -
build-logic/binary-compatibility/src/test/kotlin/gradlebuild/binarycompatibility/RichReportScrapper.kt
scrapeMessagesForSeverity("info"), scrapeMessagesForSeverity("accepted") ) } private fun Document.scrapeMessagesForSeverity(severity: String): List<ReportMessage> = select("tr.severity-$severity").map { tr -> val entry = tr.select("td")[1] ReportMessage( entry.select("span") .text().substringBefore(" If you did this intentionally"),
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Fri Jun 28 08:29:28 UTC 2024 - 2.3K bytes - Viewed (0)