- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 41 for Activation (0.58 sec)
-
maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivator.java
/** * Determines whether specified activation method is present in configuration or not. It should help to have AND * between activation conditions * Need for solving https://issues.apache.org/jira/browse/MNG-4565 * @param profile The profile whose activation status should be determined, must not be {@code null}. * @param context The environmental context used to determine the activation status of the profile, must not be
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.5K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java
} public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); ActivationProperty property = activation.getProperty(); if (property != null) { String name = property.getName(); boolean reverseName = false; if (name == null) {
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Tue May 09 23:46:02 UTC 2023 - 3.3K bytes - Viewed (0) -
maven-core/src/test/resources-project-builder/jdk-activation/pom.xml
</build> <profiles> <profile> <id>test-1</id> <activation> <jdk>[1.4,)</jdk> </activation> <properties> <jdkProperty1>PASSED</jdkProperty1> </properties> </profile> <profile> <id>test-2</id> <activation> <jdk>(,100)</jdk> </activation> <properties> <jdkProperty2>PASSED</jdkProperty2> </properties>
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Sun Mar 29 19:02:56 UTC 2020 - 2.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PackagingProfileActivator.java
import org.apache.maven.api.di.Singleton; import org.apache.maven.api.model.Activation; import org.apache.maven.api.model.Profile; import org.apache.maven.api.services.ModelProblemCollector; import org.apache.maven.api.services.model.ProfileActivationContext; import org.apache.maven.api.services.model.ProfileActivator; /** * Determines profile activation based on the project's packaging. */ @Named("packaging") @Singleton
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 2.3K bytes - Viewed (0) -
maven-compat/src/test/java/org/apache/maven/profiles/manager/DefaultProfileManagerTest.java
notActivated.setId("notActivated"); Activation nonActivation = new Activation(); nonActivation.setJdk("19.2"); notActivated.setActivation(nonActivation); Profile defaultActivated = new Profile(); defaultActivated.setId("defaultActivated"); Activation defaultActivation = new Activation(); defaultActivation.setActiveByDefault(true);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Apr 25 05:46:50 UTC 2024 - 7.3K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
return profile.getActivation() != null && profile.getActivation().getFile() != null; } public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationFile actFile = activation.getFile(); if (actFile != null) { // check if the file exists, if it does then the profile will be active String fileString = actFile.getExists();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Sep 14 11:48:15 UTC 2023 - 3.6K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/DefaultProfileManager.java
+ ") with new instance from source: " + profile.getSource()); } profilesById.put(profile.getId(), profile); Activation activation = profile.getActivation(); if (activation != null && activation.isActiveByDefault()) { activateAsDefault(profileId); } } /* (non-Javadoc)
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Thu Jun 15 14:24:56 UTC 2023 - 6.7K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java
profile.setSource("profiles.xml"); org.apache.maven.profiles.Activation profileActivation = profileXmlProfile.getActivation(); if (profileActivation != null) { Activation activation = new Activation(); activation.setActiveByDefault(profileActivation.isActiveByDefault()); activation.setJdk(profileActivation.getJdk());
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Mon Dec 26 15:12:32 UTC 2022 - 4.8K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileActivationContext.java
import java.util.Map; import java.util.Properties; import java.util.stream.Collectors; import org.apache.maven.api.services.model.*; /** * Describes the environmental context used to determine the activation status of profiles. * */ public class DefaultProfileActivationContext implements ProfileActivationContext { private List<String> activeProfileIds = Collections.emptyList();
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Apr 12 10:50:18 UTC 2024 - 6.9K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
public boolean canDetermineActivation(Profile profile) { Activation activation = profile.getActivation(); return activation != null && activation.getOs() != null; } public boolean isActive(Profile profile) { Activation activation = profile.getActivation(); ActivationOS os = activation.getOs(); boolean result = ensureAtLeastOneNonNull(os);
Registered: Wed Jun 12 09:55:16 UTC 2024 - Last Modified: Fri Sep 22 06:01:36 UTC 2023 - 3.7K bytes - Viewed (0)