Class PluginParameterExpressionEvaluatorV4

java.lang.Object
org.apache.maven.plugin.PluginParameterExpressionEvaluatorV4
All Implemented Interfaces:
org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator, org.codehaus.plexus.component.configurator.expression.TypeAwareExpressionEvaluator

public class PluginParameterExpressionEvaluatorV4 extends Object implements org.codehaus.plexus.component.configurator.expression.TypeAwareExpressionEvaluator
Evaluator for plugin parameters expressions. Content surrounded by ${ and } is evaluated. Recognized values are:
Expression matrix
expression evaluation result
session.*
project.*
settings.*
mojo.* the actual MojoExecution
* user properties
* system properties
* project properties
See Also:
  • Constructor Details

    • PluginParameterExpressionEvaluatorV4

      public PluginParameterExpressionEvaluatorV4(Session session, Project project)
    • PluginParameterExpressionEvaluatorV4

      public PluginParameterExpressionEvaluatorV4(Session session, Project project, MojoExecution mojoExecution)
  • Method Details

    • evaluate

      public Object evaluate(String expr) throws org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException
      Specified by:
      evaluate in interface org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator
      Throws:
      org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException
    • evaluate

      public Object evaluate(String expr, Class<?> type) throws org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException
      Specified by:
      evaluate in interface org.codehaus.plexus.component.configurator.expression.TypeAwareExpressionEvaluator
      Throws:
      org.codehaus.plexus.component.configurator.expression.ExpressionEvaluationException
    • alignToBaseDirectory

      public File alignToBaseDirectory(File file)
      Specified by:
      alignToBaseDirectory in interface org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator