Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 41 for modelId (0.06 sec)

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

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

         */
        @Deprecated
        public ModelBuildingException(Model model, String modelId, List<ModelProblem> problems) {
            super(toMessage(modelId, problems));
    
            if (model != null) {
                DefaultModelBuildingResult tmp = new DefaultModelBuildingResult();
                if (modelId == null) {
                    modelId = "";
                }
                tmp.addModelId(modelId);
                tmp.setRawModel(modelId, model);
    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/test/java/org/apache/maven/model/building/ModelBuildingExceptionTest.java

            DefaultModelProblem pb2 =
                    new DefaultModelProblem("message2", ModelProblem.Severity.ERROR, null, "source", 0, 0, "modelId", null);
            String msg = ModelBuildingException.toMessage("modelId", Arrays.asList(pb1, pb2));
            assertEquals(
                    "2 problems were encountered while building the effective model for modelId" + System.lineSeparator()
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.7K bytes
    - Viewed (0)
  4. compat/maven-model/src/main/java/org/apache/maven/model/InputSource.java

        /**
         * Set the identifier of the POM in the format {@code
         * <groupId>:<artifactId>:<version>}.
         *
         * @param modelId
         */
        public void setModelId(String modelId) {
            this.modelId = modelId;
        } // -- void setModelId( String )
    
        /**
         * Get the location of the POM from which this POM was
         *
         * @return
         */
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4K bytes
    - Viewed (0)
  5. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblemCollector.java

     * under the License.
     */
    package org.apache.maven.model.building;
    
    import java.util.EnumSet;
    import java.util.List;
    import java.util.Set;
    
    import org.apache.maven.model.Model;
    import org.apache.maven.model.io.ModelParseException;
    
    /**
     * Collects problems that are encountered during model building. The primary purpose of this component is to account for
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  6. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelProblem.java

                int columnNumber,
                String modelId,
                Exception exception) {
            this.message = message;
            this.severity = (severity != null) ? severity : Severity.ERROR;
            this.source = (source != null) ? source : "";
            this.lineNumber = lineNumber;
            this.columnNumber = columnNumber;
            this.modelId = (modelId != null) ? modelId : "";
            this.exception = exception;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.7K bytes
    - Viewed (0)
  7. 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.
         *
         * @return The raw model, never {@code null}.
         */
        Model getRawModel();
    
        /**
         * Gets the specified raw model as it was read from a model source. Apart from basic validation, a raw model has not
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.2K bytes
    - Viewed (0)
  8. compat/maven-model-builder/src/main/java/org/apache/maven/model/superpom/DefaultSuperPomProvider.java

                    options.put("xml:" + version, "xml:" + version);
    
                    String modelId = "org.apache.maven:maven-model-builder:" + version + "-"
                            + this.getClass().getPackage().getImplementationVersion() + ":super-pom";
                    InputSource inputSource = new InputSource(
                            modelId, getClass().getResource(resource).toExternalForm());
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java

    import org.apache.maven.model.DependencyManagement;
    import org.apache.maven.model.InputLocation;
    import org.apache.maven.model.Model;
    import org.apache.maven.model.Parent;
    import org.apache.maven.model.Plugin;
    import org.apache.maven.model.PluginManagement;
    import org.apache.maven.model.Profile;
    import org.apache.maven.model.building.ModelProblem.Severity;
    import org.apache.maven.model.building.ModelProblem.Version;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 83.6K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/header-param-models.md

    # Modelos de Parâmetros do Cabeçalho
    
    Se você possui um grupo de **parâmetros de cabeçalho** relacionados, você pode criar um **modelo do Pydantic** para declará-los.
    
    Isso vai lhe permitir **reusar o modelo** em **múltiplos lugares** e também declarar validações e metadadados para todos os parâmetros de uma vez. 😎
    
    /// note | Nota
    
    Isso é possível desde a versão `0.115.0` do FastAPI. 🤓
    
    ///
    
    ## Parâmetros do Cabeçalho com um Modelo Pydantic
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:41:28 UTC 2024
    - 3.8K bytes
    - Viewed (0)
Back to top