org.quilt.frontend.ant
Class TaskControl

java.lang.Object
  |
  +--org.quilt.frontend.ant.TaskControl

public class TaskControl
extends java.lang.Object

Run control parameters from the Ant build.xml file.


Field Summary
protected  QuiltClassLoader loader
           
 
Constructor Summary
TaskControl(QuiltTask t)
          Constructor.
 
Method Summary
 void addEnv(org.apache.tools.ant.types.Environment.Variable var)
           
 void addFormatter(FmtSelector fs)
           
 void addSysproperty(org.apache.tools.ant.types.Environment.Variable sysp)
           
 void addTest(QuiltTest t)
           
 java.lang.Object clone()
           
 org.apache.tools.ant.types.Path createClasspath()
           
 org.apache.tools.ant.types.Commandline.Argument createJvmarg()
           
 boolean equals(TaskControl tc2)
           
 org.apache.tools.ant.types.Path getAntRuntimeClasses()
           
 org.apache.tools.ant.types.CommandlineJava getCommandline()
           
 java.io.File getDir()
           
 org.apache.tools.ant.types.Environment getEnv()
           
 java.util.Vector getFormatters()
           
 boolean getIncludeAntRuntime()
           
 QuiltClassLoader getLoader()
           
 boolean getMockExec()
           
 boolean getNewEnvironment()
           
 Runner getRunner()
           
 boolean getSummary()
           
 java.lang.String getSummaryValue()
           
 org.apache.tools.ant.Task getTask()
           
 java.util.Vector getTests()
           
 java.lang.Long getTimeout()
           
 void setAntRuntimeClasses(org.apache.tools.ant.types.Path p)
           
 void setCommandline(org.apache.tools.ant.types.CommandlineJava cmd)
           
 void setDir(java.io.File dir)
           
 void setFormatters(java.util.Vector v)
           
 void setIncludeAntRuntime(boolean b)
           
 void setJvm(java.lang.String value)
           
 void setLoader(QuiltClassLoader qcl)
           
 void setMaxmemory(java.lang.String max)
           
 void setMockExec(boolean b)
           
 void setNewEnvironment(boolean newenv)
           
 void setPrintsummary(SummaryAttribute value)
           
 void setRunner(Runner r)
           
 void setShowOutput(boolean b)
           
 void setSummary(boolean b)
           
 void setSummaryValue(java.lang.String s)
           
 void setTask(QuiltTask t)
           
 void setTests(java.util.Vector v)
           
 void setTimeout(java.lang.Long value)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

loader

protected QuiltClassLoader loader
Constructor Detail

TaskControl

public TaskControl(QuiltTask t)
Constructor.

Parameters:
t - The QuiltTask being executed.
Method Detail

setAntRuntimeClasses

public void setAntRuntimeClasses(org.apache.tools.ant.types.Path p)

createClasspath

public org.apache.tools.ant.types.Path createClasspath()

setCommandline

public void setCommandline(org.apache.tools.ant.types.CommandlineJava cmd)

setDir

public void setDir(java.io.File dir)

addEnv

public void addEnv(org.apache.tools.ant.types.Environment.Variable var)

addFormatter

public void addFormatter(FmtSelector fs)

setFormatters

public void setFormatters(java.util.Vector v)

setIncludeAntRuntime

public void setIncludeAntRuntime(boolean b)

setJvm

public void setJvm(java.lang.String value)

createJvmarg

public org.apache.tools.ant.types.Commandline.Argument createJvmarg()

setLoader

public void setLoader(QuiltClassLoader qcl)

setMaxmemory

public void setMaxmemory(java.lang.String max)

setMockExec

public void setMockExec(boolean b)

setNewEnvironment

public void setNewEnvironment(boolean newenv)

setPrintsummary

public void setPrintsummary(SummaryAttribute value)

setRunner

public void setRunner(Runner r)

setShowOutput

public void setShowOutput(boolean b)

setSummary

public void setSummary(boolean b)

setSummaryValue

public void setSummaryValue(java.lang.String s)

addSysproperty

public void addSysproperty(org.apache.tools.ant.types.Environment.Variable sysp)

addTest

public void addTest(QuiltTest t)

setTests

public void setTests(java.util.Vector v)

setTask

public void setTask(QuiltTask t)

setTimeout

public void setTimeout(java.lang.Long value)

getCommandline

public org.apache.tools.ant.types.CommandlineJava getCommandline()

getDir

public java.io.File getDir()

getEnv

public org.apache.tools.ant.types.Environment getEnv()

getFormatters

public java.util.Vector getFormatters()

getIncludeAntRuntime

public boolean getIncludeAntRuntime()

getLoader

public QuiltClassLoader getLoader()

getMockExec

public boolean getMockExec()

getNewEnvironment

public boolean getNewEnvironment()

getSummary

public boolean getSummary()

getTask

public org.apache.tools.ant.Task getTask()

getTests

public java.util.Vector getTests()

getTimeout

public java.lang.Long getTimeout()

getAntRuntimeClasses

public org.apache.tools.ant.types.Path getAntRuntimeClasses()

getRunner

public Runner getRunner()

getSummaryValue

public java.lang.String getSummaryValue()

equals

public boolean equals(TaskControl tc2)

clone

public java.lang.Object clone()
Overrides:
clone in class java.lang.Object

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © 2001-2003 Apache Software Foundation. All Rights Reserved.