Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for getFiles (0.28 sec)

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

        protected boolean canDetectActivation(Profile profile) {
            return profile.getActivation() != null && profile.getActivation().getFile() != null;
        }
    
        public boolean isActive(Profile profile) {
            Activation activation = profile.getActivation();
    
            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
                // check if the file exists, if it does then the profile will be active
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Thu Sep 14 11:48:15 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  2. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/FileProfileActivator.java

            Activation activation = profile.getActivation();
    
            if (activation == null) {
                return false;
            }
    
            ActivationFile file = activation.getFile();
    
            if (file == null) {
                return false;
            }
    
            String path;
            boolean missing;
    
            if (file.getExists() != null && !file.getExists().isEmpty()) {
    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.1K bytes
    - Viewed (0)
Back to top