it.haefelinger.flaka.util
Class MatchingTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by org.apache.tools.ant.taskdefs.MatchingTask
              extended by it.haefelinger.flaka.util.MatchingTask
All Implemented Interfaces:
Cloneable, SelectorContainer
Direct Known Subclasses:
ScanDeps

public class MatchingTask
extends MatchingTask


Field Summary
 boolean debug
           
 
Fields inherited from class org.apache.tools.ant.taskdefs.MatchingTask
fileset
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
MatchingTask()
           
 
Method Summary
 void debug(String msg)
           
 void debug(String msg, Exception e)
           
 String getProperty(String s)
          A convenient method to retrieve a project property.
 Object getref(String s)
          Reference object denoted by string s.
protected  void makeref(String id, Object obj)
           
protected  void makevar(String id, Object obj)
           
 void setDebug(boolean b)
           
protected  void setid(String id, Object obj)
           
 File toFile(String s)
           
 
Methods inherited from class org.apache.tools.ant.taskdefs.MatchingTask
add, addAnd, addContains, addContainsRegexp, addCustom, addDate, addDepend, addDepth, addDifferent, addFilename, addMajority, addModified, addNone, addNot, addOr, addPresent, addSelector, addSize, addType, appendSelector, createExclude, createExcludesFile, createInclude, createIncludesFile, createPatternSet, getDirectoryScanner, getImplicitFileSet, getSelectors, hasSelectors, selectorCount, selectorElements, setCaseSensitive, setDefaultexcludes, setExcludes, setExcludesfile, setFollowSymlinks, setIncludes, setIncludesfile, setProject, XsetIgnore, XsetItems
 
Methods inherited from class org.apache.tools.ant.Task
bindToOwner, execute, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

debug

public boolean debug
Constructor Detail

MatchingTask

public MatchingTask()
Method Detail

setDebug

public void setDebug(boolean b)

debug

public final void debug(String msg)

debug

public final void debug(String msg,
                        Exception e)

setid

protected final void setid(String id,
                           Object obj)

makeref

protected final void makeref(String id,
                             Object obj)

makevar

protected final void makevar(String id,
                             Object obj)

getref

public final Object getref(String s)
Reference object denoted by string s. This method is a wrapper around method Project.getReference(String) allowing to pass a null string as well. If null is passed, a null object is returned.

Parameters:
s - may be null
Returns:
object denoted by s or null if not existing.

getProperty

public final String getProperty(String s)
A convenient method to retrieve a project property.

Parameters:
s - might be null
Returns:
value of property s or null if such a property does not exist or if no project is associated with this task.

toFile

public final File toFile(String s)