Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for canDetectActivation (0.09 sec)

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

     */
    @Deprecated
    public abstract class DetectedProfileActivator implements ProfileActivator {
        public boolean canDetermineActivation(Profile profile) {
            return canDetectActivation(profile);
        }
    
        protected abstract boolean canDetectActivation(Profile profile);
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  2. compat/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();
        }
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3K bytes
    - Viewed (0)
  3. compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/SystemPropertyProfileActivator.java

        private Properties properties;
    
        public void contextualize(Context context) throws ContextException {
            properties = (Properties) context.get("SystemProperties");
        }
    
        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getProperty() != null;
        }
    
        public boolean isActive(Profile profile) throws ProfileActivationException {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.3K bytes
    - Viewed (0)
  4. compat/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) {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 3.6K bytes
    - Viewed (0)
Back to top