public class TaskConfiguration extends Object
| Constructor and Description |
|---|
TaskConfiguration(org.apache.tools.ant.Project project) |
| Modifier and Type | Method and Description |
|---|---|
void |
addLibrary(org.apache.tools.ant.types.FileSet fileset) |
void |
addSource(org.apache.tools.ant.types.FileSet fileset) |
void |
addTestSource(org.apache.tools.ant.types.FileSet fileset) |
CompilationConfiguration |
getCompilationConfiguration() |
TestRunConfiguration |
getTestRunConfiguration() |
protected boolean |
isValidURL(String urlStr) |
boolean |
isVerbose() |
protected void |
propagateSharedConfiguration() |
void |
setCommand(String commandPath) |
void |
setDebug(boolean value) |
void |
setDisplay(int display) |
void |
setFailOnTestFailure(boolean failOnTestFailure) |
void |
setFailureProperty(String failureProperty) |
void |
setHeadless(boolean headless) |
void |
setLoadConfig(LoadConfig loadconfig) |
void |
setLocalTrusted(boolean isLocalTrusted) |
void |
setPlayer(String player) |
void |
setPort(int port) |
void |
setReportDir(String reportDirPath) |
void |
setServerBufferSize(int serverBufferSize) |
void |
setSocketTimeout(int socketTimeout) |
void |
setSwf(File swf) |
void |
setSwf(String swf) |
void |
setVerbose(boolean verbose) |
void |
setWorkingDir(String workingDirPath) |
boolean |
shouldCompile() |
protected void |
validateSharedProperties() |
void |
verify() |
protected boolean isValidURL(String urlStr)
public CompilationConfiguration getCompilationConfiguration()
public TestRunConfiguration getTestRunConfiguration()
public void setCommand(String commandPath)
public void setDisplay(int display)
public void setFailOnTestFailure(boolean failOnTestFailure)
public void setFailureProperty(String failureProperty)
public void addSource(org.apache.tools.ant.types.FileSet fileset)
public void addTestSource(org.apache.tools.ant.types.FileSet fileset)
public void addLibrary(org.apache.tools.ant.types.FileSet fileset)
public void setHeadless(boolean headless)
public void setLocalTrusted(boolean isLocalTrusted)
public void setPlayer(String player)
public void setPort(int port)
public void setReportDir(String reportDirPath)
public void setServerBufferSize(int serverBufferSize)
public void setSocketTimeout(int socketTimeout)
public void setSwf(String swf)
public void setSwf(File swf)
public boolean isVerbose()
public void setVerbose(boolean verbose)
public void setWorkingDir(String workingDirPath)
public boolean shouldCompile()
public void verify()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionprotected void validateSharedProperties()
throws org.apache.tools.ant.BuildException
org.apache.tools.ant.BuildExceptionprotected void propagateSharedConfiguration()
public void setDebug(boolean value)
public void setLoadConfig(LoadConfig loadconfig)
Copyright © 2020 The Apache Software Foundation. All rights reserved.