public abstract class AbstractTestScriptFactory extends Object implements TestScriptFactory
| Modifier and Type | Field and Description |
|---|---|
protected File |
baseDir |
protected List<String> |
classpathElements |
protected File |
gemHome |
protected File[] |
gemPaths |
protected File |
outputDir |
protected File |
reportPath |
protected File |
sourceDir |
protected File |
summaryReport |
protected Properties |
systemProperties |
| Constructor and Description |
|---|
AbstractTestScriptFactory() |
| Modifier and Type | Method and Description |
|---|---|
void |
emit() |
File |
getScriptFile() |
protected abstract String |
getScriptName() |
void |
setBaseDir(File baseDir) |
void |
setClasspathElements(List<String> classpathElements) |
void |
setGemHome(File gemHome) |
void |
setGemPaths(File[] gemPaths) |
void |
setOutputDir(File outputDir) |
void |
setReportPath(File reportPath) |
void |
setSourceDir(File sourceDir) |
void |
setSummaryReport(File summaryReport) |
void |
setSystemProperties(Properties systemProperties) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetCoreScript, getFullScriptprotected File summaryReport
protected File outputDir
protected File baseDir
protected File sourceDir
protected File reportPath
protected Properties systemProperties
protected File gemHome
protected File[] gemPaths
public void setClasspathElements(List<String> classpathElements)
setClasspathElements in interface TestScriptFactorypublic void setSummaryReport(File summaryReport)
setSummaryReport in interface TestScriptFactorypublic void setOutputDir(File outputDir)
setOutputDir in interface TestScriptFactorypublic void setBaseDir(File baseDir)
setBaseDir in interface TestScriptFactorypublic void setSourceDir(File sourceDir)
setSourceDir in interface TestScriptFactorypublic void setReportPath(File reportPath)
setReportPath in interface TestScriptFactorypublic void setSystemProperties(Properties systemProperties)
setSystemProperties in interface TestScriptFactorypublic void setGemHome(File gemHome)
setGemHome in interface TestScriptFactorypublic void setGemPaths(File[] gemPaths)
setGemPaths in interface TestScriptFactoryprotected abstract String getScriptName()
public File getScriptFile()
getScriptFile in interface TestScriptFactorypublic void emit()
throws IOException
emit in interface TestScriptFactoryIOExceptionCopyright © 2014. All Rights Reserved.