it.haefelinger.flaka
Class Rescue

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.Rescue
All Implemented Interfaces:
Cloneable, TaskContainer

public class Rescue
extends Task
implements TaskContainer

A task to rescue variables.

Since:
1.0
Author:
merzedes

Field Summary
protected  List properties
           
protected  Map ptyhtab
           
protected  Vector tasks
          Optional Vector holding the nested tasks
protected  Map varhtab
           
protected  List vars
           
 
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
Rescue()
           
 
Method Summary
 void addProperties(List list)
           
 void addTask(Task nestedTask)
           
 void addVars(List list)
           
 void execute()
           
protected  void rescue()
           
protected  void restore()
           
 
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

vars

protected List vars

properties

protected List properties

varhtab

protected Map varhtab

ptyhtab

protected Map ptyhtab

tasks

protected Vector tasks
Optional Vector holding the nested tasks

Constructor Detail

Rescue

public Rescue()
Method Detail

addVars

public void addVars(List list)

addProperties

public void addProperties(List list)

addTask

public void addTask(Task nestedTask)
Specified by:
addTask in interface TaskContainer

rescue

protected void rescue()

restore

protected void restore()

execute

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