org.apache.slide.macro
Class MacroParameters

java.lang.Object
  |
  +--org.apache.slide.macro.MacroParameters

public class MacroParameters
extends java.lang.Object

Macro parameters.

Author:
Remy Maucherat

Constructor Summary
MacroParameters()
          Constructor.
MacroParameters(boolean recursive, boolean overwrite)
          Constructor.
 
Method Summary
 boolean isOverwrite()
          Overwrite accessor.
 boolean isRecursive()
          Recursive accessor.
 
Methods inherited from class java.lang.Object
, clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

MacroParameters

public MacroParameters()
Constructor.

MacroParameters

public MacroParameters(boolean recursive,
                       boolean overwrite)
Constructor.
Parameters:
recursive - True if the macro is recursive
overwrite - True if we should try to overwrite stuff
Method Detail

isRecursive

public boolean isRecursive()
Recursive accessor.
Returns:
boolean True if the macro is recursive

isOverwrite

public boolean isOverwrite()
Overwrite accessor.
Returns:
boolean True if the macro will overwrite any items on the destination (may not apply to all macros)