public class Filter extends Task
description, location, project
Constructor and Description |
---|
Filter() |
Modifier and Type | Method and 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.
|
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
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