Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for canDetectActivation (0.2 sec)

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

        private String convertJdkToMavenVersion(String jdk) {
            return jdk.replace("_", "-");
        }
    
        protected String getJdkVersion() {
            return JDK_VERSION;
        }
    
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null
                    && profile.getActivation().getJdk() != null
                    && !profile.getActivation().getJdk().isEmpty();
        }
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3K bytes
    - Viewed (0)
  2. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

    /**
     * FileProfileActivator
     */
    @Deprecated
    public class FileProfileActivator extends DetectedProfileActivator implements LogEnabled {
        private Logger logger;
    
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getFile() != null;
        }
    
        public boolean isActive(Profile profile) {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top