Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for setRawModel (0.11 sec)

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

            return this;
        }
    
        @Override
        public Model getRawModel() {
            return request.getRawModel();
        }
    
        @Override
        public ModelBuildingRequest setRawModel(Model rawModel) {
            request.setRawModel(rawModel);
            return this;
        }
    
        @Override
        public WorkspaceModelResolver getWorkspaceModelResolver() {
            return request.getWorkspaceModelResolver();
        }
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.4K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingResult.java

            return rawModels.get(modelIds.get(0));
        }
    
        @Override
        public Model getRawModel(String modelId) {
            return rawModels.get(modelId);
        }
    
        public DefaultModelBuildingResult setRawModel(String modelId, Model rawModel) {
            // Intentionally notNull because Super POM may not contain a modelId
            Objects.requireNonNull(modelId, "modelId cannot null");
    
            rawModels.put(modelId, rawModel);
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5K bytes
    - Viewed (0)
  3. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingException.java

                DefaultModelBuildingResult tmp = new DefaultModelBuildingResult();
                if (modelId == null) {
                    modelId = "";
                }
                tmp.addModelId(modelId);
                tmp.setRawModel(modelId, model);
                tmp.setProblems(problems);
                result = tmp;
            } else {
                result = 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)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

                tmp.setProblems(getProblems());
                tmp.setActiveExternalProfiles(result.getActiveExternalProfiles());
                String id = getRootModelId();
                tmp.addModelId(id);
                tmp.setRawModel(id, getRootModel());
                result = tmp;
            }
            return new ModelBuildingException(result);
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuildingRequest.java

            this.fileModel = fileModel;
            return this;
        }
    
        @Override
        public Model getRawModel() {
            return null;
        }
    
        @Override
        public ModelBuildingRequest setRawModel(Model rawModel) {
            return this;
        }
    
        @Override
        public WorkspaceModelResolver getWorkspaceModelResolver() {
            return workspaceResolver;
        }
    
        @Override
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/ModelBuildingRequest.java

         */
        @Deprecated
        Model getRawModel();
    
        /**
         * @deprecated setting the rawModel has no effect, instead the fileModel of phase one will be set
         */
        @Deprecated
        ModelBuildingRequest setRawModel(Model rawModel);
    
        /**
         * Gets the source of the POM to process.
         *
         * @return The source of the POM or {@code null} if not set.
         */
        ModelSource getModelSource();
    
        /**
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 14.9K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

            for (ModelData currentData = resultData; ; ) {
                String modelId = currentData.getId();
                result.addModelId(modelId);
    
                Model model = currentData.getModel();
                result.setRawModel(modelId, model);
                problems.setSource(model);
                org.apache.maven.api.model.Model modelv4 = model.getDelegate();
    
                // model normalization
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
Back to top