net.dpml.tools.tasks
Class FilterTask
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
net.dpml.tools.tasks.GenericTask
net.dpml.tools.tasks.ResourceTask
net.dpml.tools.tasks.FeatureTask
net.dpml.tools.tasks.FilterTask
- public class FilterTask
- extends FeatureTask
Construct a pattern filter using a supplied feature and token.
- Version:
- 1.0.0
- Author:
- The Digital Product Meta Library
Methods inherited from class org.apache.tools.ant.Task |
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
FilterTask
public FilterTask()
setDefault
public void setDefault(String value)
- Set a default filter value.
- Parameters:
value
- the default value
setToken
public void setToken(String token)
- Set the filter token value.
- Parameters:
token
- the token value
execute
public void execute()
throws BuildException
- Execute the task.
- Throws:
BuildException
- if a build error occurs