Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. 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);
    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)
  2. 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)
  3. 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 {
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Tue May 09 23:46:02 GMT 2023
    - 3.3K bytes
    - Viewed (0)
  4. 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