Package net.sf.antcontrib.logic
Class Relentless
- java.lang.Object
-
- org.apache.tools.ant.ProjectComponent
-
- org.apache.tools.ant.Task
-
- net.sf.antcontrib.logic.Relentless
-
- All Implemented Interfaces:
java.lang.Cloneable
,org.apache.tools.ant.TaskContainer
public class Relentless extends org.apache.tools.ant.Task implements org.apache.tools.ant.TaskContainer
Relentless is an Ant task that will relentlessly execute other tasks, ignoring any failures until all tasks have completed. If any of the executed tasks fail, then Relentless will fail; otherwise it will succeed.- Version:
- $Id: Relentless.java 12 2006-08-09 17:48:45Z mattinger $
- Author:
- Christopher Heiny
-
-
Constructor Summary
Constructors Constructor Description Relentless()
Creates a new Relentless task.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addTask(org.apache.tools.ant.Task task)
Ant will call this to inform us of nested tasks.void
execute()
This method will be called when it is time to execute the task.boolean
isTerse()
Retrieve the terse property, indicating how much output we will generate.void
setTerse(boolean terse)
Set this to true to reduce the amount of output generated.-
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
-
-
-
-
Method Detail
-
execute
public void execute() throws org.apache.tools.ant.BuildException
This method will be called when it is time to execute the task.- Overrides:
execute
in classorg.apache.tools.ant.Task
- Throws:
org.apache.tools.ant.BuildException
-
addTask
public void addTask(org.apache.tools.ant.Task task)
Ant will call this to inform us of nested tasks.- Specified by:
addTask
in interfaceorg.apache.tools.ant.TaskContainer
-
setTerse
public void setTerse(boolean terse)
Set this to true to reduce the amount of output generated.
-
isTerse
public boolean isTerse()
Retrieve the terse property, indicating how much output we will generate.
-
-