Class EnforcerExpressionEvaluator

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

public class EnforcerExpressionEvaluator extends org.apache.maven.plugin.PluginParameterExpressionEvaluator
The Class EnforcerExpressionEvaluator. This class wraps the PluginParameterExpressionEvaluator because it can't be accessed directly in 2.0.x so we must create a new one.
  • Constructor Summary

    Constructors
    Constructor
    Description
    EnforcerExpressionEvaluator(org.apache.maven.execution.MavenSession theContext, org.apache.maven.project.path.PathTranslator thePathTranslator, org.apache.maven.project.MavenProject theProject)
    Deprecated.
    Will be removed with 2.0
    EnforcerExpressionEvaluator(org.apache.maven.execution.MavenSession theContext, org.apache.maven.project.path.PathTranslator thePathTranslator, org.apache.maven.project.MavenProject theProject, org.apache.maven.plugin.MojoExecution theExecution)
    The Constructor.
  • Method Summary

    Methods inherited from class org.apache.maven.plugin.PluginParameterExpressionEvaluator

    alignToBaseDirectory, evaluate, evaluate

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • EnforcerExpressionEvaluator

      public EnforcerExpressionEvaluator(org.apache.maven.execution.MavenSession theContext, org.apache.maven.project.path.PathTranslator thePathTranslator, org.apache.maven.project.MavenProject theProject, org.apache.maven.plugin.MojoExecution theExecution)
      The Constructor.
      Parameters:
      theContext - MavenSession
      thePathTranslator - PathTranslator
      theProject - MavenProject
      theExecution - MojoExecution
    • EnforcerExpressionEvaluator

      public EnforcerExpressionEvaluator(org.apache.maven.execution.MavenSession theContext, org.apache.maven.project.path.PathTranslator thePathTranslator, org.apache.maven.project.MavenProject theProject)
      Deprecated.
      Will be removed with 2.0
      This constructor is kept for backward compatibility.
      Parameters:
      theContext - MavenSession
      thePathTranslator - PathTranslator
      theProject - MavenProject