org.apache.maven.doxia.macro
Class MacroRequest

java.lang.Object
  extended by org.apache.maven.doxia.macro.MacroRequest

public class MacroRequest
extends Object

MacroRequest class.

Since:
1.0
Version:
$Id: MacroRequest.java 746978 2009-02-23 12:20:33Z vsiveton $
Author:
Jason van Zyl

Constructor Summary
MacroRequest(Map param, File base)
          Constructor.
 
Method Summary
 File getBasedir()
          Returns the current base directory.
 Object getParameter(String key)
          Returns on object from the map of parameters that corresponds to the given key.
 Map getParameters()
          Returns the map of parameters.
 void setBasedir(File base)
          Sets the current base directory.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroRequest

public MacroRequest(Map param,
                    File base)
Constructor.

Parameters:
param - A map of parameters.
base - The current base directory.
Method Detail

getBasedir

public File getBasedir()
Returns the current base directory.

Returns:
The base dir.

setBasedir

public void setBasedir(File base)
Sets the current base directory.

Parameters:
base - The current base directory.

getParameters

public Map getParameters()
Returns the map of parameters.

Returns:
The map of parameters.

getParameter

public Object getParameter(String key)
Returns on object from the map of parameters that corresponds to the given key.

Parameters:
key - The key to lookup the object.
Returns:
The value object.


Copyright © 2005-2011 Apache Software Foundation. All Rights Reserved.