- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 49 for setProblems (0.14 sec)
-
compat/maven-builder-support/src/test/java/org/apache/maven/building/ProblemCollectorFactoryTest.java
ProblemCollector collector2 = ProblemCollectorFactory.newInstance(Collections.singletonList(problem)); assertNotSame(collector1, collector2); assertEquals(0, collector1.getProblems().size()); assertEquals(1, collector2.getProblems().size()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderException.java
* * @return The problems that caused this exception, never {@code null}. */ public List<ModelProblem> getProblems() { if (result == null) { return Collections.emptyList(); } return Collections.unmodifiableList(result.getProblems()); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Wed Oct 02 21:26:05 UTC 2024 - 3K bytes - Viewed (0) -
compat/maven-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingResult.java
*/ PersistedToolchains getEffectiveToolchains(); /** * Return a list of problems, if any. * * @return a list of problems, never {@code null}. */ List<Problem> getProblems();
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.5K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingListener.java
/** * Defines events that the model builder fires during construction of the effective model. When a listener encounters * errors while processing the event, it can report these problems via {@link ModelBuildingEvent#getProblems()}. * Note: To cope with future extensions to this interface, it is strongly recommended to extend * {@link AbstractModelBuildingListener} rather than to directly implement this interface. *
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingEvent.java
public Model getModel() { return model; } @Override public ModelBuildingRequest getRequest() { return request; } @Override public ModelProblemCollector getProblems() { return problems; }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.7K bytes - Viewed (0) -
impl/maven-core/src/main/java/org/apache/maven/internal/impl/DefaultProjectBuilder.java
} @Nonnull @Override public Collection<BuilderProblem> getProblems() { return new MappedCollection<>(res.getProblems(), this::toProblem); } private BuilderProblem toProblem(ModelProblem problem) { return new BuilderProblem() {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 8K bytes - Viewed (0) -
compat/maven-builder-support/src/main/java/org/apache/maven/building/ProblemCollector.java
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-toolchain-builder/src/main/java/org/apache/maven/toolchain/building/ToolchainsBuildingException.java
} } /** * Gets the problems that caused this exception. * * @return The problems that caused this exception, never {@code null}. */ public List<Problem> getProblems() { return problems; } private static String toMessage(List<Problem> problems) { StringWriter buffer = new StringWriter(1024); PrintWriter writer = new PrintWriter(buffer);
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/building/DefaultSettingsBuilder.java
.build()); return new DefaultSettingsBuildingResult( new Settings(result.getEffectiveSettings()), convert(result.getProblems())); } catch (SettingsBuilderException e) { throw new SettingsBuildingException(convert(e.getProblems())); } } private org.apache.maven.api.services.Source toSource(File file, Source source) { if (file != null && file.exists()) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 6.3K bytes - Viewed (0) -
api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelProblemCollector.java
* */ public interface ModelProblemCollector { /** * The collected problems. * @return a list of model problems encountered, never {@code null} */ List<ModelProblem> getProblems(); boolean hasErrors(); boolean hasFatalErrors(); default void add(BuilderProblem.Severity severity, ModelProblem.Version version, String message) {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Sat Sep 28 09:03:24 UTC 2024 - 2.8K bytes - Viewed (0)