it.haefelinger.flaka
Class Task
java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
it.haefelinger.flaka.Task
- All Implemented Interfaces:
- Cloneable
- Direct Known Subclasses:
- Break, Choose, CreateTarget, CvsStat, DotClassPath, Export, For, HttpUploadTask, InitSSL, InstCompH, Let, List, Logo, Mkdir, NoOp, Property, PropertyHelper, Rescue, ResolveDeps, RunMacro, RunTarget, Select, SetDefault, Switch, Unset, When, WhichFlaka, While, XmlMerger
public class Task
- extends Task
- Since:
- 1.0
- Author:
- merzedes
|
Field Summary |
boolean |
debug
|
boolean |
el
|
|
Constructor Summary |
Task()
|
| 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, maybeConfigure, perform, reconfigure, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType |
el
public boolean el
debug
public boolean debug
Task
public Task()
setEl
public void setEl(boolean b)
setDebug
public void setDebug(boolean b)
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.
throwbx
protected final void throwbx(String s)
toFile
public final File toFile(String s)
throwbx
protected final void throwbx(String s,
Exception e)
log
public final void log(String msg)
- Overrides:
log in class Task
debug
public final void debug(String msg)
debug
public final void debug(String msg,
Exception e)
verbose
public final void verbose(String msg)
warn
public final void warn(String msg)
warn
public void warn(String msg,
Exception e)
error
public final void error(String msg)
error
public final void error(String msg,
Exception e)
info
public final void info(String msg)