org.apache.avalon.tools.tasks
Class ContextualTask

java.lang.Object
  extended byorg.apache.tools.ant.ProjectComponent
      extended byorg.apache.tools.ant.Task
          extended byorg.apache.avalon.tools.tasks.ContextualTask
Direct Known Subclasses:
AnnounceTask, CleanTask, HomeTask, SystemTask

public abstract class ContextualTask
extends org.apache.tools.ant.Task

Load a goal.

Version:
$Revision: 1.2 $ $Date: 2004/03/17 10:30:09 $
Author:
Avalon Development Team

Field Summary
static String MODULE_PROPERTIES
           
static String USER_PROPERTIES
           
 
Fields inherited from class org.apache.tools.ant.Task
description, location, target, taskName, taskType, wrapper
 
Fields inherited from class org.apache.tools.ant.ProjectComponent
project
 
Constructor Summary
ContextualTask()
           
 
Method Summary
 Context getContext()
           
 String getKey()
           
 void init()
           
 boolean isInitialized()
           
protected  void loadProperties(org.apache.tools.ant.Project project, File file)
           
 void mkDir(File dir)
           
protected  void setupProperties(org.apache.tools.ant.Project project, File dir)
           
 
Methods inherited from class org.apache.tools.ant.Task
execute, getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject, setProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

USER_PROPERTIES

public static final String USER_PROPERTIES
See Also:
Constant Field Values

MODULE_PROPERTIES

public static final String MODULE_PROPERTIES
See Also:
Constant Field Values
Constructor Detail

ContextualTask

public ContextualTask()
Method Detail

init

public void init()
          throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException

isInitialized

public boolean isInitialized()

getKey

public String getKey()

getContext

public Context getContext()

mkDir

public void mkDir(File dir)

setupProperties

protected void setupProperties(org.apache.tools.ant.Project project,
                               File dir)

loadProperties

protected void loadProperties(org.apache.tools.ant.Project project,
                              File file)
                       throws org.apache.tools.ant.BuildException
Throws:
org.apache.tools.ant.BuildException