- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 25 for interpolate (0.08 sec)
-
api/maven-api-core/src/main/java/org/apache/maven/api/services/Interpolator.java
*/ @Nullable default String interpolate( @Nullable String val, @Nullable Function<String, String> callback, boolean defaultsToEmpty) { return interpolate(val, callback, null, defaultsToEmpty); } /** * Interpolates a single string value using the provided callback function. * * @param val The string to be interpolated.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Thu Oct 17 09:25:53 UTC 2024 - 6.9K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/ModelInterpolator.java
public interface ModelInterpolator { /** * Interpolates expressions in the specified model. Note that implementations are free to either interpolate the * provided model directly or to create a clone of the model and interpolate the clone. Callers should always use * the returned model and must not rely on the input model being updated. * * @param model The model to interpolate, must not be {@code null}.
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.9K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnenc/CommonsCliEncryptOptions.java
it.set(interpolator.interpolate(it.next())); } } commandLineBuilder.addOption(option); } for (String arg : options.commandLine.getArgList()) { commandLineBuilder.addArg(interpolator.interpolate(arg)); } return new CommonsCliEncryptOptions(
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.9K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/profiles/activation/FileProfileActivator.java
fileString = interpolator.interpolate(fileString, "").replace("\\", "/"); File file = new File(fileString); return !file.exists(); } } catch (InterpolationException e) { if (logger.isDebugEnabled()) { logger.debug("Failed to interpolate missing file location for profile activator: " + fileString, e); } else {
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.6K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/path/ProfileActivationFilePathInterpolator.java
} }); interpolator.addValueSource(new MapBasedValueSource(context.getProjectProperties())); interpolator.addValueSource(new MapBasedValueSource(context.getUserProperties())); interpolator.addValueSource(new MapBasedValueSource(context.getSystemProperties())); String absolutePath = interpolator.interpolate(path, "");
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 3.8K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/interpolation/StringVisitorModelInterpolator.java
final StringSearchInterpolator interpolator = new StringSearchInterpolator(); interpolator.setCacheAnswers(true); for (ValueSource vs : valueSources) { interpolator.addValueSource(vs); } for (InterpolationPostProcessor postProcessor : postProcessors) { interpolator.addPostProcessor(postProcessor); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.8K bytes - Viewed (0) -
compat/maven-compat/src/main/java/org/apache/maven/project/interpolation/ModelInterpolator.java
/** * @deprecated Use {@link ModelInterpolator#interpolate(Model, File, ProjectBuilderConfiguration, boolean)} instead. */ @Deprecated Model interpolate(Model project, Map<String, ?> context) throws ModelInterpolationException; /** * @deprecated Use {@link ModelInterpolator#interpolate(Model, File, ProjectBuilderConfiguration, boolean)} instead. */ @Deprecated
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 2.1K bytes - Viewed (0) -
compat/maven-model-builder/src/main/java/org/apache/maven/model/profile/activation/FileProfileActivator.java
return false; } try { path = profileActivationFilePathInterpolator.interpolate(path, context); } catch (InterpolationException e) { problems.add(new ModelProblemCollectorRequest(Severity.ERROR, Version.BASE) .setMessage("Failed to interpolate file location " + path + " for profile " + profile.getId() + ": " + e.getMessage())
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 4.2K bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvn/LayeredMavenOptions.java
} @Override public MavenOptions interpolate(Collection<Map<String, String>> properties) { ArrayList<MavenOptions> interpolatedOptions = new ArrayList<>(options.size()); for (MavenOptions o : options) { interpolatedOptions.add(o.interpolate(properties)); } return layerMavenOptions(interpolatedOptions); }
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Fri Oct 25 12:31:46 UTC 2024 - 5.3K bytes - Viewed (0) -
api/maven-api-cli/src/main/java/org/apache/maven/api/cli/mvnenc/EncryptOptions.java
/** * Returns a new instance of EncryptOptions with values interpolated using the given properties. * * @param properties a collection of property maps to use for interpolation * @return a new EncryptOptions instance with interpolated values */ @Nonnull EncryptOptions interpolate(Collection<Map<String, String>> properties);
Registered: Sun Nov 03 03:35:11 UTC 2024 - Last Modified: Mon Oct 14 19:57:22 UTC 2024 - 2.4K bytes - Viewed (0)