Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for getModelIds (0.18 sec)

  1. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation. The model
         * identifier should be from the collection obtained by {@link #getModelIds()}.
         *
         * @see #getModelIds()
         * @param modelId The identifier of the desired raw model, must not be {@code null}.
         * @return The raw model or {@code null} if the specified model id does not refer to a known model.
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

         * @return The identifier of the POM or an empty string if not known, never {@code null}.
         */
        public String getModelId() {
            if (result == null || result.getModelIds().isEmpty()) {
                return "";
            }
            return result.getModelIds().get(0);
        }
    
        /**
         * Gets the problems that caused this exception.
         *
         * @return The problems that caused this exception, never {@code null}.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            this.effectiveModel = result.getEffectiveModel();
            this.fileModel = result.getFileModel();
            this.problems.addAll(result.getProblems());
    
            for (String modelId : result.getModelIds()) {
                this.modelIds.add(modelId);
                this.rawModels.put(modelId, result.getRawModel(modelId));
                this.activePomProfiles.put(modelId, result.getActivePomProfiles(modelId));
            }
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                    req.getException());
    
            add(problem);
        }
    
        public ModelBuildingException newModelBuildingException() {
            ModelBuildingResult result = this.result;
            if (result.getModelIds().isEmpty()) {
                DefaultModelBuildingResult tmp = new DefaultModelBuildingResult();
                tmp.setEffectiveModel(result.getEffectiveModel());
                tmp.setProblems(getProblems());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
Back to top