Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 294 for profile (0.05 sec)

  1. schema/relationship_test.go

    	type Profile struct {
    		gorm.Model
    		Refer string
    		Name  string
    	}
    
    	type User struct {
    		gorm.Model
    		Profile   Profile `gorm:"ForeignKey:ProfileID;References:Refer"`
    		ProfileID int
    	}
    
    	checkStructRelation(t, &User{}, Relation{
    		Name: "Profile", Type: schema.BelongsTo, Schema: "User", FieldSchema: "Profile",
    		References: []Reference{{"Refer", "Profile", "ProfileID", "User", "", false}},
    	})
    }
    Registered: Sun Nov 03 09:35:10 UTC 2024
    - Last Modified: Mon Apr 15 03:20:20 UTC 2024
    - 25.5K bytes
    - Viewed (0)
  2. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java

            boolean activatedPomProfileNotByDefault = false;
    
            for (Profile profile : profiles) {
                if (!deactivatedIds.contains(profile.getId())) {
                    if (activatedIds.contains(profile.getId()) || isActive(profile, context, problems)) {
                        activeProfiles.add(profile);
    
                        if (Profile.SOURCE_POM.equals(profile.getSource())) {
                            activatedPomProfileNotByDefault = true;
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 5.3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

        private ProfilesConversionUtils() {}
    
        public static Profile convertFromProfileXmlProfile(org.apache.maven.profiles.Profile profileXmlProfile) {
            Profile profile = new Profile();
    
            profile.setId(profileXmlProfile.getId());
    
            profile.setSource("profiles.xml");
    
            org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.8K bytes
    - Viewed (0)
  4. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileSelector.java

                Collection<org.apache.maven.api.model.Profile> profiles,
                ProfileActivationContext context,
                ModelProblemCollector problems) {
            return getActiveProfiles(profiles.stream().map(Profile::new).collect(Collectors.toList()), context, problems)
                    .stream()
                    .map(Profile::getDelegate)
                    .collect(Collectors.toList());
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  5. impl/maven-core/src/main/java/org/apache/maven/execution/ProfileActivation.java

        }
    
        /**
         * Mark a profile as required and activated.
         * @param id The identifier of the profile.
         */
        public void activateRequiredProfile(String id) {
            this.activations.put(id, ActivationSettings.ACTIVATION_REQUIRED);
        }
    
        /**
         * Mark a profile as optional and activated.
         * @param id The identifier of the profile.
         */
    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-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java

        @Test
        void testShouldActivateDefaultProfile() throws Exception {
            Profile notActivated = new Profile();
            notActivated.setId("notActivated");
    
            Activation nonActivation = new Activation();
    
            nonActivation.setJdk("19.2");
    
            notActivated.setActivation(nonActivation);
    
            Profile defaultActivated = new Profile();
            defaultActivated.setId("defaultActivated");
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  7. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/ProfileInjector.java

                ModelBuildingRequest request,
                ModelProblemCollector problems) {
            Model m = new Model(model);
            injectProfile(m, profile != null ? new Profile(profile) : null, request, problems);
            return m.getDelegate();
        }
    
        /**
         * Merges values from the specified profile into the given model. Implementations are expected to keep the profile
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

        private Logger logger;
    
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getFile() != null;
        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
  9. compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileInjector.java

        }
    
        private Model doInjectProfiles(Model model, List<Profile> profiles) {
            Model orgModel = model;
            for (Profile profile : profiles) {
                if (profile != null) {
                    Model.Builder builder = Model.newBuilder(model);
                    merger.mergeModelBase(builder, model, profile);
    
                    if (profile.getBuild() != null) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 10.3K bytes
    - Viewed (0)
  10. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

        }
    
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getProperty() != null;
        }
    
        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            ActivationProperty property = activation.getProperty();
    
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
Back to top