net.ggtools.grand.tasks
Class GrandTask

java.lang.Object
  extended by org.apache.tools.ant.ProjectComponent
      extended by org.apache.tools.ant.Task
          extended by net.ggtools.grand.tasks.GrandTask

public class GrandTask
extends org.apache.tools.ant.Task

A task to create graphs.

Author:
Christophe Labouisse

Field Summary
 
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
GrandTask()
           
 
Method Summary
 void addFilter(FilterType filter)
          Add a filter to the task.
 void addProperty(org.apache.tools.ant.taskdefs.Property p)
          Add a new property to be passed to the graphed project.
 void addPropertyset(org.apache.tools.ant.types.PropertySet ps)
          Set of properties to pass to the graphed project.
 void execute()
           
 void setBuildFile(java.io.File file)
          Sets the buildFile.
 void setInheritAll(boolean value)
          If true, pass all properties to the new Ant project.
 void setOutput(java.io.File file)
          Sets the output file.
 void setOutputConfigFile(java.io.File propertyFile)
          Set a property file to override the output default configuration.
 void setProject(org.apache.tools.ant.Project project)
           
 void setPropertyFile(java.io.File propertyFile)
          Deprecated. use setOutputConfigFile(File).
 void setShowGraphName(boolean show)
           
 
Methods inherited from class org.apache.tools.ant.Task
getDescription, getLocation, getOwningTarget, getRuntimeConfigurableWrapper, getTaskName, getTaskType, getWrapper, handleErrorFlush, handleErrorOutput, handleFlush, handleInput, handleOutput, init, isInvalid, log, log, maybeConfigure, perform, reconfigure, setDescription, setLocation, setOwningTarget, setRuntimeConfigurableWrapper, setTaskName, setTaskType
 
Methods inherited from class org.apache.tools.ant.ProjectComponent
getProject
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

GrandTask

public GrandTask()
Method Detail

execute

public void execute()
             throws org.apache.tools.ant.BuildException
Overrides:
execute in class org.apache.tools.ant.Task
Throws:
org.apache.tools.ant.BuildException

setProject

public void setProject(org.apache.tools.ant.Project project)
Overrides:
setProject in class org.apache.tools.ant.ProjectComponent

setBuildFile

public void setBuildFile(java.io.File file)
Sets the buildFile.

Parameters:
file -

setOutput

public void setOutput(java.io.File file)
Sets the output file.

Parameters:
file -

setPropertyFile

public void setPropertyFile(java.io.File propertyFile)
Deprecated. use setOutputConfigFile(File).

Set a property file to override the output default configuration.

Parameters:
outputConfigurationFile - The outputConfigurationFile to set.

setOutputConfigFile

public void setOutputConfigFile(java.io.File propertyFile)
Set a property file to override the output default configuration.

Parameters:
outputConfigurationFile - The outputConfigurationFile to set.

setShowGraphName

public void setShowGraphName(boolean show)

setInheritAll

public void setInheritAll(boolean value)
If true, pass all properties to the new Ant project. Defaults to true.

Parameters:
value - if true pass all properties to the new Ant project.

addFilter

public void addFilter(FilterType filter)
Add a filter to the task.

Parameters:
filter -

addProperty

public void addProperty(org.apache.tools.ant.taskdefs.Property p)
Add a new property to be passed to the graphed project.

Parameters:
p - the property to set.

addPropertyset

public void addPropertyset(org.apache.tools.ant.types.PropertySet ps)
Set of properties to pass to the graphed project.

Parameters:
ps - property set to add


Copyright © 2004-2005 ggTools. All Rights Reserved.