it.haefelinger.flaka
Class NoOp
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
it.haefelinger.flaka.Task
it.haefelinger.flaka.NoOp
- All Implemented Interfaces:
- Cloneable
public class NoOp
- extends Task
A Task just doing nothing.
This clazz can be used to define a task that does nothing. This can be useful
in situations where scripts rely on the existince of a particular task. Ant
would fail if such a task does not exist. Rather than doing so, this clazz
can be used to let Ant continue, perhaps with a warning message.
- Since:
- 1.0
- Author:
- merzedes
| Fields inherited from class it.haefelinger.flaka.Task |
debug, el |
|
Constructor Summary |
NoOp()
|
| Methods inherited from class it.haefelinger.flaka.Task |
debug, debug, error, error, getProperty, getref, info, log, setDebug, setEl, throwbx, throwbx, toFile, verbose, warn, warn |
| Methods inherited from class org.apache.tools.ant.Task |
bindToOwner, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, log, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
NoOp
public NoOp()
setName
public void setName(String unused)
- Parameters:
unused -
setVar
public void setVar(String unused)
- Parameters:
unused -
setProperty
public void setProperty(String unused)
- Parameters:
unused -
setFlush
public void setFlush(String unused)
- Parameters:
unused -
setSrcDir
public void setSrcDir(String unused)
- Parameters:
unused -
setResDir
public void setResDir(String unused)
- Parameters:
unused -
execute
public void execute()
throws BuildException
- Standard task execution interface
This task does nothing
- Overrides:
execute in class Task
- Throws:
BuildException