org.apache.maven.doxia.macro

Class MacroRequest

public class MacroRequest extends Object

Since: 1.0

Version: $Id: MacroRequest.java 567311 2007-08-18 18:30:54Z vsiveton $

Author: Jason van Zyl

Constructor Summary
MacroRequest(Map param, File base)
Constructor.
Method Summary
FilegetBasedir()
Returns the current base directory.
ObjectgetParameter(String key)
Returns on object from the map of parameters that corresponds to the given key.
MapgetParameters()
Returns the map of parameters.
voidsetBasedir(File base)
Sets the current base directory.

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.

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.

getParameters

public Map getParameters()
Returns the map of parameters.

Returns: The map of parameters.

setBasedir

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

Parameters: base The current base directory.

Copyright © 2002-2010 Apache Software Foundation. All Rights Reserved.