it.haefelinger.flaka
Class Task

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by 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
           
 
Fields inherited from class org.apache.tools.ant.Task
target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
description, location, project
 
Constructor Summary
Task()
           
 
Method Summary
 void debug(String msg)
           
 void debug(String msg, Exception e)
           
 void error(String msg)
           
 void error(String msg, Exception e)
           
 String getProperty(String s)
          A convenient method to retrieve a project property.
 Object getref(String s)
          Reference object denoted by string s.
 void info(String msg)
           
 void log(String msg)
           
 void setDebug(boolean b)
           
 void setEl(boolean b)
           
protected  void throwbx(String s)
           
protected  void throwbx(String s, Exception e)
           
 File toFile(String s)
           
 void verbose(String msg)
           
 void warn(String msg)
           
 void warn(String msg, Exception e)
           
 
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
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
clone, getDescription, getLocation, getProject, setDescription, setLocation, setProject
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

el

public boolean el

debug

public boolean debug
Constructor Detail

Task

public Task()
Method Detail

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)