- Sort Score
- Num 10 results
- Language All
Results 1 - 9 of 9 for getExists (0.12 seconds)
-
compat/maven-model-builder/src/test/java/org/apache/maven/model/building/DefaultModelBuilderFactoryTest.java
.getActivation() .getFile() .getExists(); assertEquals(originalExists, resultExists); assertTrue(result.getEffectiveModel() .getProfiles() .get(1) .getActivation() .getFile() .getExists() .contains(BASE_DIR)); }
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 3.7K bytes - Click Count (0) -
compat/maven-model-builder/src/test/java/org/apache/maven/model/profile/activation/FileProfileActivatorTest.java
Profile profile = newExistsProfile("file.txt"); assertEquals("file.txt", profile.getActivation().getFile().getExists()); assertActivation(true, profile, context); assertEquals("file.txt", profile.getActivation().getFile().getExists()); } private Profile newExistsProfile(String filePath) { ActivationFile activationFile =
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jan 10 07:09:12 GMT 2025 - 6.2K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/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()} * * @deprecated use {@code org.apache.maven.api.services.ModelBuilder} instead */ @Named @Singleton @Deprecated public class ProfileActivationFilePathInterpolator {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 3.9K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
if (file == null) { return false; } String path; boolean missing; if (StringUtils.isNotEmpty(file.getExists())) { path = file.getExists(); missing = false; } else if (StringUtils.isNotEmpty(file.getMissing())) { path = file.getMissing(); missing = true; } else {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 4.4K bytes - Click Count (0) -
compat/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); }Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 4.8K bytes - Click Count (0) -
compat/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) {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Jun 06 14:28:57 GMT 2025 - 3.6K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
activationFile.setMissing(val); } // Exists org = activationFile.getExists(); val = interpolate(org); if (org != val) { activationFile.setExists(val); } } } private void visit(ModelBase modelBase) { if (modelBase != null) {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Tue Feb 25 08:27:34 GMT 2025 - 43.1K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/building/DefaultModelBuilder.java
Interpolation nt = new Interpolation(fa, s -> profileActivationFilePathInterpolator.interpolate(s, context)); nt.performFor(fa.getExists(), "exists", fa::setExists); nt.performFor(fa.getMissing(), "missing", fa::setMissing); }); a.map(Activation::getOs).ifPresent(oa -> {Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Sun Mar 30 23:08:08 GMT 2025 - 55.3K bytes - Click Count (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/validation/DefaultModelValidator.java
root.map(Activation::getFile).ifPresent(fa -> { stk.push(new ActivationFrame("file", Optional.of(fa))); stk.push(new ActivationFrame("exists", Optional.empty())); validator.accept(fa.getExists()); stk.peek().location = "missing"; validator.accept(fa.getMissing()); stk.pop(); stk.pop(); }); root.map(Activation::getOs).ifPresent(oa -> {
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Wed Sep 03 15:06:05 GMT 2025 - 66.8K bytes - Click Count (0)