Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 803 for Model (0.14 sec)

  1. api/maven-api-core/src/main/java/org/apache/maven/api/services/ModelBuilderResult.java

         *
         * @return The assembled model, never {@code null}.
         */
        @Nonnull
        Model getEffectiveModel();
    
        /**
         * Gets the specified raw model as it was read from a model source. Apart from basic validation, a raw model has not
         * undergone any updates by the model builder, e.g. reflects neither inheritance nor interpolation. The model
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileInjector.java

                    .computeIfAbsent(profiles, l -> doInjectProfiles(model, profiles));
            return result == KEY ? model : result;
        }
    
        private Model doInjectProfiles(Model model, List<Profile> profiles) {
            Model orgModel = model;
            for (Profile profile : profiles) {
                if (profile != null) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 9.5K bytes
    - Viewed (0)
  3. .teamcity/src/main/kotlin/configurations/StagePasses.kt

    import jetbrains.buildServer.configs.kotlin.triggers.vcs
    import model.CIBuildModel
    import model.Stage
    import model.StageName
    import model.Trigger
    import projects.StageProject
    
    class StagePasses(model: CIBuildModel, stage: Stage, prevStage: Stage?, stageProject: StageProject) : BaseGradleBuildType(init = {
        id(stageTriggerId(model, stage))
        uuid = stageTriggerUuid(model, stage)
        name = stage.stageName.stageName + " (Trigger)"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Dec 05 00:08:14 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileInjector.java

         */
        default Model injectProfile(
                Model model, Profile profile, ModelBuilderRequest request, ModelProblemCollector problems) {
            return injectProfiles(model, List.of(profile), request, problems);
        }
    
        /**
         * Merges values from the specified profile into the given model. Implementations are expected to keep the profile
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.9K bytes
    - Viewed (0)
  5. tests/named_polymorphic_test.go

    	}
    
    	if DB.Model(&hamster2).Association("OtherToy").Count() != 1 {
    		t.Errorf("Hamster's toys count should be 1 after Append")
    	}
    
    	// Replace
    	DB.Model(&hamster).Association("PreferredToy").Replace(&Toy{
    		Name: "bike 3",
    	})
    
    	DB.Model(&hamster).Association("OtherToy").Replace(&Toy{
    		Name: "treadmill 3",
    	})
    
    	hamsterToy = Toy{}
    Go
    - Registered: Sun May 05 09:35:13 GMT 2024
    - Last Modified: Wed Jul 08 09:59:40 GMT 2020
    - 4.2K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ModelData.java

     */
    package org.apache.maven.internal.impl.model;
    
    import org.apache.maven.api.model.Model;
    import org.apache.maven.api.services.ModelSource;
    
    /**
     * Holds a model along with some auxiliary information. This internal utility class assists the model builder during POM
     * processing by providing a means to transport information that cannot be (easily) extracted from the model itself.
     */
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  7. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultDependencyManagementInjector.java

        @Override
        public Model injectManagement(Model model, ModelBuilderRequest request, ModelProblemCollector problems) {
            return merger.mergeManagedDependencies(model);
        }
    
        /**
         * ManagementModelMerger
         */
        protected static class ManagementModelMerger extends MavenModelMerger {
    
            public Model mergeManagedDependencies(Model model) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.5K bytes
    - Viewed (0)
  8. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelValidator.java

         */
        void validateRawModel(Model model, ModelBuilderRequest request, ModelProblemCollector problems);
    
        /**
         * Checks the specified (effective) model for missing or invalid values. The effective model is fully assembled and
         * has undergone inheritance, interpolation and other model operations.
         *
         * @param model The model to validate, must not be {@code null}.
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3K bytes
    - Viewed (0)
  9. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ModelPathTranslator.java

         * configuration are not processed.
         *
         * @param model The model whose paths should be resolved, may be {@code null}.
         * @param basedir The base directory to resolve relative paths against, may be {@code null}.
         * @param request The model building request that holds further settings, must not be {@code null}.
         * @since 4.0.0
         */
        Model alignToBaseDirectory(Model model, Path basedir, ModelBuilderRequest request);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  10. tests/test_jsonable_encoder.py

    
    def test_encode_model_with_alias_raises():
        with pytest.raises(ValidationError):
            ModelWithAlias(foo="Bar")
    
    
    def test_encode_model_with_alias():
        model = ModelWithAlias(Foo="Bar")
        assert jsonable_encoder(model) == {"Foo": "Bar"}
    
    
    def test_encode_model_with_default():
        model = ModelWithDefault(foo="foo", bar="bar")
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 21:56:59 GMT 2024
    - 9K bytes
    - Viewed (0)
Back to top