Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for canDetermineActivation (0.21 sec)

  1. maven-compat/src/main/java/org/apache/maven/profiles/activation/ProfileActivator.java

    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;
    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)
  2. maven-compat/src/main/java/org/apache/maven/profiles/activation/JdkPrefixProfileActivator.java

        public boolean isActive(Profile profile) throws ProfileActivationException {
            Activation activation = profile.getActivation();
    
            String jdk = activation.getJdk();
    
            // null case is covered by canDetermineActivation(), so we can do a straight startsWith() here.
            if (jdk.startsWith("[") || jdk.startsWith("(")) {
                try {
                    return matchJdkVersionRange(jdk);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/profiles/activation/DetectedProfileActivator.java

    import org.apache.maven.model.Profile;
    
    /**
     * DetectedProfileActivator
     */
    @Deprecated
    public abstract class DetectedProfileActivator implements ProfileActivator {
        public boolean canDetermineActivation(Profile profile) {
            return canDetectActivation(profile);
        }
    
        protected abstract boolean canDetectActivation(Profile profile);
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue Nov 22 13:26:01 GMT 2022
    - 1.2K bytes
    - Viewed (0)
  4. maven-compat/src/main/java/org/apache/maven/profiles/activation/OperatingSystemProfileActivator.java

    import org.apache.maven.utils.Os;
    
    /**
     * OperatingSystemProfileActivator
     */
    @Deprecated
    public class OperatingSystemProfileActivator implements ProfileActivator {
    
        public boolean canDetermineActivation(Profile profile) {
            Activation activation = profile.getActivation();
            return activation != null && activation.getOs() != null;
        }
    
        public boolean isActive(Profile profile) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Sep 22 06:01:36 GMT 2023
    - 3.7K bytes
    - Viewed (0)
Back to top