it.haefelinger.flaka
Class Choose

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.Choose
All Implemented Interfaces:
Cloneable

public class Choose
extends Task

Since:
1.0
Author:
merzedes

Field Summary
protected  Sequential otherwise
           
protected  List whenlist
           
 
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
Choose()
           
 
Method Summary
 void addDefault(Sequential task)
           
 void addOtherwise(Sequential task)
           
 void addUnless(Unless task)
           
 void addWhen(When task)
           
protected  List caselist()
           
 void execute()
           
 
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
 

Field Detail

whenlist

protected List whenlist

otherwise

protected Sequential otherwise
Constructor Detail

Choose

public Choose()
Method Detail

caselist

protected List caselist()

addWhen

public void addWhen(When task)

addUnless

public void addUnless(Unless task)

addOtherwise

public void addOtherwise(Sequential task)
                  throws BuildException
Throws:
BuildException

addDefault

public void addDefault(Sequential task)
                throws BuildException
Throws:
BuildException

execute

public void execute()
             throws BuildException
Overrides:
execute in class Task
Throws:
BuildException