- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for isActive (0.28 sec)
-
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PropertyProfileActivator.java
* * @see ActivationProperty */ @Named("property") @Singleton public class PropertyProfileActivator implements ProfileActivator { @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 3.6K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java
* JdkPrefixProfileActivator */ @Deprecated public class JdkPrefixProfileActivator extends DetectedProfileActivator { private static final String JDK_VERSION = System.getProperty("java.version"); public boolean isActive(Profile profile) throws ProfileActivationException { Activation activation = profile.getActivation(); String jdk = activation.getJdk();
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/OperatingSystemProfileActivator.java
*/ @Named("os") @Singleton public class OperatingSystemProfileActivator implements ProfileActivator { private static final String REGEX_PREFIX = "regex:"; @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 4.9K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/JdkVersionProfileActivator.java
private static final Pattern FILTER_2 = Pattern.compile("[._-]"); private static final Pattern FILTER_3 = Pattern.compile("\\."); // used for split now @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { Activation activation = profile.getActivation(); if (activation == null) { return false; }
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 6.2K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/resolver/DefaultLegacyArtifactCollector.java
resolvedArtifacts.put(key, previousNodes); } previousNodes.add(node); if (node.isActive()) { fireEvent(ResolutionListener.INCLUDE_ARTIFACT, listeners, node); } // don't pull in the transitive deps of a system-scoped dependency. if (node.isActive() && !Artifact.SCOPE_SYSTEM.equals(node.getArtifact().getScope())) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Wed Sep 06 11:28:54 GMT 2023 - 36.7K bytes - Viewed (0) -
maven-core/src/main/java/org/apache/maven/execution/DefaultMavenExecutionRequestPopulator.java
// <nonProxyHosts>www.google.com|*.somewhere.com</nonProxyHosts> // </proxy> // </proxies> for (Proxy proxy : settings.getProxies()) { if (!proxy.isActive()) { continue; } proxy = proxy.clone(); request.addProxy(proxy); } // <mirrors> // <mirror>
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Mon Jun 19 15:04:04 GMT 2023 - 8.1K bytes - Viewed (0) -
maven-compat/src/main/java/org/apache/maven/profiles/activation/ProfileActivator.java
/** * ProfileActivator */ @Deprecated public interface ProfileActivator { String ROLE = ProfileActivator.class.getName(); boolean canDetermineActivation(Profile profile); boolean isActive(Profile profile) throws ProfileActivationException;
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Tue Nov 22 13:26:01 GMT 2022 - 1.1K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/PackagingProfileActivator.java
/** * Determines profile activation based on the project's packaging. */ @Named("packaging") @Singleton public class PackagingProfileActivator implements ProfileActivator { @Override public boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { return getActivationPackaging(profile).map(p -> isPackaging(context, p)).orElse(false); } @Override
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Fri Apr 12 10:50:18 GMT 2024 - 2.3K bytes - Viewed (0) -
maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultProfileSelector.java
} private boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems) { boolean isActive = false; for (ProfileActivator activator : activators) { if (activator.presentInConfig(profile, context, problems)) { isActive = true; try { if (!activator.isActive(profile, context, problems)) {
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) -
maven-compat/src/main/java/org/apache/maven/repository/legacy/LegacyRepositorySystem.java
if (proxies != null && repository.getProtocol() != null) { for (org.apache.maven.settings.Proxy proxy : proxies) { if (proxy.isActive() && repository.getProtocol().equalsIgnoreCase(proxy.getProtocol())) { if (proxy.getNonProxyHosts() != null && !proxy.getNonProxyHosts().isEmpty()) {
Java - Registered: Sun May 05 03:35:11 GMT 2024 - Last Modified: Thu Sep 14 11:48:15 GMT 2023 - 31.6K bytes - Viewed (0)