it.haefelinger.flaka
Class Break

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.Break
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
Continue

public class Break
extends Task

A task to terminate a for or while loop.

See break for a detailed description of this task.

Since:
1.0
Author:
merzedes

Field Summary
protected static BuildException EXCEPTION
           
protected  String ifp
           
protected  String test
           
static String TOKEN
           
protected  String unlessp
           
 
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
Break()
           
 
Method Summary
 void execute()
           
protected  void fail()
           
 void setIf(String ifp)
           
 void setTest(String test)
           
 void setUnless(String unlessp)
           
 
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

TOKEN

public static final String TOKEN
See Also:
Constant Field Values

EXCEPTION

protected static final BuildException EXCEPTION

test

protected String test

ifp

protected String ifp

unlessp

protected String unlessp
Constructor Detail

Break

public Break()
Method Detail

setTest

public void setTest(String test)

setIf

public void setIf(String ifp)

setUnless

public void setUnless(String unlessp)

fail

protected void fail()

execute

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