- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 26 for getSeverity (0.44 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/project/validation/DefaultModelValidator.java
this.result = result; } public void add(ModelProblemCollectorRequest req) { if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) { result.addMessage(req.getMessage()); } } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/Result.java
// helper to determine if problems contain error private static boolean hasErrors(Iterable<? extends ModelProblem> problems) { for (ModelProblem input : problems) { if (input.getSeverity().equals(ERROR) || input.getSeverity().equals(FATAL)) { return true; } } return false; } /** * Class definition */ private final boolean errors;
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/SimpleProblemCollector.java
return errors; } public List<String> getFatals() { return fatals; } public void add(ModelProblemCollectorRequest req) { switch (req.getSeverity()) { case FATAL: if (!fatals.contains(req.getMessage())) { fatals.add(req.getMessage()); } break; case ERROR:
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.3K bytes - Viewed (0) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/building/SettingsProblem.java
*/ 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) -
compat/maven-settings-builder/src/main/java/org/apache/maven/settings/validation/DefaultSettingsValidator.java
List<BuilderProblem> list = settingsBuilder.validate(settings.getDelegate(), isProjectSettings); for (BuilderProblem problem : list) { addViolation(problems, Severity.valueOf(problem.getSeverity().name()), problem.getMessage()); } } // ---------------------------------------------------------------------- // Field validation
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-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
writer.print("encountered while building the effective toolchains"); writer.println(); for (Problem problem : problems) { writer.print("["); writer.print(problem.getSeverity()); writer.print("] "); writer.print(problem.getMessage()); String location = problem.getLocation(); if (!location.isEmpty()) { writer.print(" @ ");
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-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.6K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/aether/DefaultRepositorySystemSessionFactory.java
for (SettingsProblem problem : decrypted.getProblems()) { if (problem.getSeverity() == SettingsProblem.Severity.WARNING) { logger.warn(problem.getMessage()); } else if (problem.getSeverity() == SettingsProblem.Severity.ERROR) { logger.error( problem.getMessage(),
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 25.8K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/BuilderProblem.java
@Nonnull 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-builder-support/src/main/java/org/apache/maven/building/Problem.java
*/ 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.3K bytes - Viewed (0)