- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 13 for ProfileActivator (0.1 sec)
-
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/ProfileActivator.java
* under the License. */ package org.apache.maven.profiles.activation; import org.apache.maven.model.Profile; /** * ProfileActivator */ @Deprecated public interface ProfileActivator { String ROLE = ProfileActivator.class.getName(); boolean canDetermineActivation(Profile profile); boolean isActive(Profile profile) throws ProfileActivationException;Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 1.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/ProfileActivator.java
/** * Determines whether a profile should be activated. * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Deprecated(since = "4.0.0") public interface ProfileActivator { /** * Determines whether the specified profile is active in the given activator context. * * @param profile The profile whose activation status should be determined, must not be {@code null}.Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 2.7K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/DefaultProfileSelector.java
if (profileActivator != null) { activators.add(profileActivator); } return this; } @Override public List<Profile> getActiveProfiles( Collection<Profile> profiles, ProfileActivationContext context, ModelProblemCollector problems) { Collection<String> activatedIds = new HashSet<>(context.getActiveProfileIds());
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 4.6K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/DefaultProfileSelectorTest.java
import org.apache.maven.model.Profile; import org.apache.maven.model.building.ModelProblemCollector; import org.apache.maven.model.building.SimpleProblemCollector; import org.apache.maven.model.profile.activation.ProfileActivator; import org.junit.jupiter.api.Test; import static org.junit.jupiter.api.Assertions.assertEquals; import static org.junit.jupiter.api.Assertions.assertTrue; /** * Tests {@link DefaultProfileSelector}. */Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Wed Sep 17 10:01:14 UTC 2025 - 2.9K bytes - Viewed (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/AbstractProfileActivatorTest.java
import static org.junit.jupiter.api.Assertions.assertEquals; /** * Provides common services to test {@link ProfileActivator} implementations. * * @param <T> the type of {@link ProfileActivator} being tested */ @Deprecated public abstract class AbstractProfileActivatorTest<T extends ProfileActivator> { protected T activator; @BeforeEach abstract void setUp() throws Exception; @AfterEachRegistered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Mar 21 04:56:21 UTC 2025 - 2.4K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilderFactory.java
DefaultProfileSelector profileSelector = new DefaultProfileSelector(); for (ProfileActivator activator : newProfileActivators()) { profileSelector.addProfileActivator(activator); } return profileSelector; } protected ProfileActivator[] newProfileActivators() { return new ProfileActivator[] { new JdkVersionProfileActivator(),
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 10.2K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/DetectedProfileActivator.java
*/ package org.apache.maven.profiles.activation; import org.apache.maven.model.Profile; /** * DetectedProfileActivator */ @Deprecated public abstract class DetectedProfileActivator implements ProfileActivator { @Override public boolean canDetermineActivation(Profile profile) { return canDetectActivation(profile); } protected abstract boolean canDetectActivation(Profile profile);Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 1.2K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/PropertyProfileActivator.java
* @see ActivationProperty * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Named("property") @Singleton @Deprecated(since = "4.0.0") public class PropertyProfileActivator implements ProfileActivator { @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation();Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 3.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/OperatingSystemProfileActivator.java
* @see ActivationOS * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Named("os") @Singleton @Deprecated(since = "4.0.0") public class OperatingSystemProfileActivator implements ProfileActivator { private static final String REGEX_PREFIX = "regex:"; @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) {Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Feb 25 08:27:34 UTC 2025 - 5.3K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java
import org.apache.maven.model.Profile; import org.apache.maven.utils.Os; /** * OperatingSystemProfileActivator */ @Deprecated public class OperatingSystemProfileActivator implements ProfileActivator { @Override public boolean canDetermineActivation(Profile profile) { Activation activation = profile.getActivation(); return activation != null && activation.getOs() != null; }Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Fri Jun 06 14:28:57 UTC 2025 - 3.7K bytes - Viewed (0)