java.lang.Cloneable
public class Filter extends Task
description, location, project
Constructor | Description |
---|---|
Filter() |
Modifier and Type | Method | Description |
---|---|---|
void |
execute() |
Execute the task.
|
protected void |
readFilters() |
Read the filters.
|
void |
setFiltersfile(java.io.File filtersFile) |
The file from which the filters must be read.
|
void |
setToken(java.lang.String token) |
The token string without @ delimiters.
|
void |
setValue(java.lang.String value) |
The string that should replace the token during filtered copies.
|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
public void setToken(java.lang.String token)
token
- token to setpublic void setValue(java.lang.String value)
value
- token replace valuepublic void setFiltersfile(java.io.File filtersFile)
filtersFile
- filter filepublic void execute() throws BuildException
execute
in class Task
BuildException
- on errorprotected void readFilters() throws BuildException
BuildException
- on error