Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for getExists (0.31 sec)

  1. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/profile/FileProfileActivator.java

            if (file == null) {
                return false;
            }
    
            String path;
            boolean missing;
    
            if (file.getExists() != null && !file.getExists().isEmpty()) {
                path = file.getExists();
                missing = false;
            } else if (file.getMissing() != null && !file.getMissing().isEmpty()) {
                path = file.getMissing();
                missing = true;
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. maven-core/src/test/java/org/apache/maven/settings/SettingsUtilsTest.java

    Java
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 6.7K bytes
    - Viewed (0)
  3. maven-compat/src/main/java/org/apache/maven/profiles/ProfilesConversionUtils.java

                if (profileFile != null) {
                    ActivationFile file = new ActivationFile();
    
                    file.setExists(profileFile.getExists());
                    file.setMissing(profileFile.getMissing());
    
                    activation.setFile(file);
                }
    
                profile.setActivation(activation);
            }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Dec 26 15:12:32 GMT 2022
    - 4.8K bytes
    - Viewed (0)
  4. maven-api-impl/src/main/java/org/apache/maven/internal/impl/SettingsUtilsV4.java

                    org.apache.maven.api.settings.ActivationFile file =
                            org.apache.maven.api.settings.ActivationFile.newBuilder()
                                    .exists(modelFile.getExists())
                                    .missing(modelFile.getMissing())
                                    .build();
    
                    activation.file(file);
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Mon Mar 25 10:50:01 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  5. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/ProfileActivationFilePathInterpolator.java

    import org.codehaus.plexus.interpolation.MapBasedValueSource;
    import org.codehaus.plexus.interpolation.RegexBasedInterpolator;
    
    /**
     * Finds an absolute path for {@link ActivationFile#getExists()} or {@link ActivationFile#getMissing()}
     *
     */
    @Named
    @Singleton
    public class ProfileActivationFilePathInterpolator {
    
        private final PathTranslator pathTranslator;
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri Apr 12 10:50:18 GMT 2024
    - 3.7K bytes
    - Viewed (0)
  6. maven-core/src/main/java/org/apache/maven/settings/SettingsUtilsV4.java

                    org.apache.maven.api.settings.ActivationFile file =
                            org.apache.maven.api.settings.ActivationFile.newBuilder()
                                    .exists(modelFile.getExists())
                                    .missing(modelFile.getMissing())
                                    .build();
    
                    activation.file(file);
                }
    
    Java
    - Registered: Sun Mar 24 03:35:10 GMT 2024
    - Last Modified: Thu Feb 15 08:42:00 GMT 2024
    - 13.8K bytes
    - Viewed (0)
  7. maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java

            ActivationFile actFile = activation.getFile();
    
            if (actFile != null) {
                // check if the file exists, if it does then the profile will be active
                String fileString = actFile.getExists();
    
                RegexBasedInterpolator interpolator = new RegexBasedInterpolator();
                try {
                    interpolator.addValueSource(new EnvarBasedValueSource());
                } catch (IOException e) {
    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)
  8. maven-api-impl/src/main/java/org/apache/maven/internal/impl/model/DefaultModelBuilder.java

                        Supplier<? extends ActivationFile.Builder> creator,
                        ActivationFile.Builder builder,
                        ActivationFile target) {
                    final String path = target.getExists();
                    final String xformed = transformPath(path, target, "exists");
                    return xformed != path ? (builder != null ? builder : creator.get()).exists(xformed) : builder;
                }
    
    Java
    - Registered: Sun May 05 03:35:11 GMT 2024
    - Last Modified: Fri May 03 08:48:38 GMT 2024
    - 61.5K bytes
    - Viewed (0)
Back to top