org.apache.maven.plugin
Class PluginParameterExpressionEvaluator

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

public class PluginParameterExpressionEvaluator
extends Object
implements org.codehaus.plexus.component.configurator.expression.TypeAwareExpressionEvaluator

Author:
Jason van Zyl

Field Summary
 
Fields inherited from interface org.codehaus.plexus.component.configurator.expression.ExpressionEvaluator
ROLE
 
Constructor Summary
PluginParameterExpressionEvaluator(MavenSession session)
           
PluginParameterExpressionEvaluator(MavenSession session, MojoExecution mojoExecution)
           
PluginParameterExpressionEvaluator(MavenSession session, MojoExecution mojoExecution, PathTranslator pathTranslator, org.codehaus.plexus.logging.Logger logger, MavenProject project, Properties properties)
          Deprecated. 
 
Method Summary
 File alignToBaseDirectory(File file)
           
 Object evaluate(String expr)
           
 Object evaluate(String expr, Class<?> type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

PluginParameterExpressionEvaluator

@Deprecated
public PluginParameterExpressionEvaluator(MavenSession session,
                                                     MojoExecution mojoExecution,
                                                     PathTranslator pathTranslator,
                                                     org.codehaus.plexus.logging.Logger logger,
                                                     MavenProject project,
                                                     Properties properties)
Deprecated. 


PluginParameterExpressionEvaluator

public PluginParameterExpressionEvaluator(MavenSession session)

PluginParameterExpressionEvaluator

public PluginParameterExpressionEvaluator(MavenSession session,
                                          MojoExecution mojoExecution)
Method Detail

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


Copyright © 2001-2012 The Apache Software Foundation. All Rights Reserved.