Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Wed Jul 23 17:27:08 UTC 2025
    - 5.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingResult.java

         * an empty string that by definition denotes the super POM.
         *
         * @return The model identifiers from the lineage of models, never {@code null}.
         */
        List<String> getModelIds();
    
        /**
         * Gets the assembled model.
         *
         * @return The assembled model, never {@code null}.
         */
        Model getEffectiveModel();
    
        /**
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.2K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

        }
    
        public DefaultModelBuildingResult setEffectiveModel(Model model) {
            this.effectiveModel = model;
    
            return this;
        }
    
        @Override
        public List<String> getModelIds() {
            return modelIds;
        }
    
        public DefaultModelBuildingResult addModelId(String modelId) {
            // Intentionally notNull because Super POM may not contain a modelId
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 4.2K 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 Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Feb 25 08:27:34 UTC 2025
    - 5.5K bytes
    - Viewed (0)
Back to top