- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 350 for Profile (0.06 sec)
-
schema/relationship_test.go
func TestBelongsToOverrideForeignKey(t *testing.T) { type Profile struct { gorm.Model Name string } type User struct { gorm.Model Profile Profile `gorm:"ForeignKey:ProfileRefer"` ProfileRefer int } checkStructRelation(t, &User{}, Relation{ Name: "Profile", Type: schema.BelongsTo, Schema: "User", FieldSchema: "Profile", References: []Reference{{"ID", "Profile", "ProfileRefer", "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) -
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) -
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) -
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) -
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) -
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) -
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) -
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) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/JdkVersionProfileActivatorTest.java
void testPrefixNegated() throws Exception { Profile profile = newProfile("!1.4"); assertActivation(false, profile, newContext(null, newProperties("1.4"))); assertActivation(false, profile, newContext(null, newProperties("1.4.2"))); assertActivation(false, profile, newContext(null, newProperties("1.4.2_09"))); assertActivation(false, profile, newContext(null, newProperties("1.4.2_09-b03")));
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 9K bytes - Viewed (0) -
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)