org.apache.maven.plugin
Class PluginParameterExpressionEvaluator

java.lang.Object
  extended by org.apache.maven.plugin.PluginParameterExpressionEvaluator
All Implemented Interfaces:
ExpressionEvaluator, TypeAwareExpressionEvaluator

public class PluginParameterExpressionEvaluator
extends Object
implements 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, 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,
                                                     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 ExpressionEvaluationException
Specified by:
evaluate in interface ExpressionEvaluator
Throws:
ExpressionEvaluationException

evaluate

public Object evaluate(String expr,
                       Class<?> type)
                throws ExpressionEvaluationException
Specified by:
evaluate in interface TypeAwareExpressionEvaluator
Throws:
ExpressionEvaluationException

alignToBaseDirectory

public File alignToBaseDirectory(File file)
Specified by:
alignToBaseDirectory in interface ExpressionEvaluator


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