- Sort Score
- Result 10 results
- Languages All
Results 21 - 26 of 26 for getSeverity (0.07 sec)
-
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelProblem.java
*/ 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}. */ Version getVersion();
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-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/DefaultToolchainsBuilder.java
ProblemCollector collector = ProblemCollectorFactory.newInstance(null); problems.forEach(p -> collector.add( Problem.Severity.valueOf(p.getSeverity().name()), p.getMessage(), p.getLineNumber(), p.getColumnNumber(), p.getException())); return collector.getProblems(); }
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/building/DefaultSettingsBuilder.java
} private SettingsProblem convert(BuilderProblem problem) { return new DefaultSettingsProblem( problem.getMessage(), SettingsProblem.Severity.valueOf(problem.getSeverity().name()), problem.getSource(), problem.getLineNumber(), problem.getColumnNumber(), problem.getException()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
List<Profile> profiles = profileSelector.getActiveProfiles(profilesById.values(), context, req -> { if (!ModelProblem.Severity.WARNING.equals(req.getSeverity())) { errors.add(new ProfileActivationException(req.getMessage(), req.getException())); } }); if (!errors.isEmpty()) { throw errors.get(0); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/exception/DefaultExceptionHandler.java
return new ExceptionSummary(null, message, null, children); } private ExceptionSummary handle(ModelProblem problem, String projectId) { if (ModelProblem.Severity.ERROR.compareTo(problem.getSeverity()) >= 0) { String message = problem.getMessage(); String location = ModelProblemUtils.formatLocation(problem, projectId); if (!location.isEmpty()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 10.9K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/DefaultMaven.java
Result<? extends ProjectDependencyGraph> graphResult = graphBuilder.build(session); for (ModelProblem problem : graphResult.getProblems()) { if (problem.getSeverity() == ModelProblem.Severity.WARNING) { logger.warn(problem.getMessage()); } else { logger.error(problem.getMessage()); } }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 27.5K bytes - Viewed (1)