Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for isActive (0.17 sec)

  1. 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)
  2. 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)
  3. 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)
  4. 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)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/FileProfileActivator.java

            this.profileActivationFilePathInterpolator = profileActivationFilePathInterpolator;
        }
    
        @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.1K bytes
    - Viewed (0)
  6. maven-api-impl/src/main/java/org/apache/maven/api/services/model/ProfileActivator.java

         *            {@code null}.
         * @return {@code true} if the profile is active, {@code false} otherwise.
         */
        boolean isActive(Profile profile, ProfileActivationContext context, ModelProblemCollector problems);
    
        /**
         * Determines whether specified activation method is present in configuration or not. It should help to have AND
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. 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)
  8. maven-core/src/test/java/org/apache/maven/project/PomConstructionTest.java

            checkBuildPluginWithArtifactId(
                    inactiveProfilePlugins,
                    "only-inactive-profile",
                    "Inactive only ||${project.basedir}||",
                    "<plugin-in-inactive-only>Inactive only ||${project.basedir}||</plugin-in-inactive-only>");
        }
    
        private void checkReportPluginWithArtifactId(
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 93.2K bytes
    - Viewed (0)
Back to top