it.haefelinger.flaka
Class NoOp

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by it.haefelinger.flaka.Task
              extended by 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

Field Summary
 
Fields inherited from class it.haefelinger.flaka.Task
debug, 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
NoOp()
           
 
Method Summary
 void execute()
          Standard task execution interface This task does nothing
 void setFlush(String unused)
           
 void setName(String unused)
           
 void setProperty(String unused)
           
 void setResDir(String unused)
           
 void setSrcDir(String unused)
           
 void setVar(String unused)
           
 
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
 
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
 

Constructor Detail

NoOp

public NoOp()
Method Detail

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