Class Break

java.lang.Object
org.apache.tools.ant.ProjectComponent
org.apache.tools.ant.Task
ise.antelope.tasks.Break
All Implemented Interfaces:
Breakable, Cloneable

public class Break extends org.apache.tools.ant.Task implements Breakable
This is a marker task that indicates to a Breakable that a break condition has occurred.
  • Field Summary

    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

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Adds a nested Break.
    boolean
     
    void
     
    void
    setBreak(boolean b)
    Set the break flag to the given value.

    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, 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 Details

    • Break

      public Break()
  • Method Details

    • setBreak

      public void setBreak(boolean b)
      Description copied from interface: Breakable
      Set the break flag to the given value.
      Specified by:
      setBreak in interface Breakable
      Parameters:
      b - the value for the flag
    • addBreak

      public void addBreak(Break b)
      Description copied from interface: Breakable
      Adds a nested Break.
      Specified by:
      addBreak in interface Breakable
      Parameters:
      b - the Break to add
    • execute

      public void execute()
      Overrides:
      execute in class org.apache.tools.ant.Task
    • doBreak

      public boolean doBreak()
      Specified by:
      doBreak in interface Breakable
      Returns:
      the value of the break flag.