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, wait
getCoreScript, getFullScript
protected 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 TestScriptFactory
public void setSummaryReport(File summaryReport)
setSummaryReport
in interface TestScriptFactory
public void setOutputDir(File outputDir)
setOutputDir
in interface TestScriptFactory
public void setBaseDir(File baseDir)
setBaseDir
in interface TestScriptFactory
public void setSourceDir(File sourceDir)
setSourceDir
in interface TestScriptFactory
public void setReportPath(File reportPath)
setReportPath
in interface TestScriptFactory
public void setSystemProperties(Properties systemProperties)
setSystemProperties
in interface TestScriptFactory
public void setGemHome(File gemHome)
setGemHome
in interface TestScriptFactory
public void setGemPaths(File[] gemPaths)
setGemPaths
in interface TestScriptFactory
protected abstract String getScriptName()
public File getScriptFile()
getScriptFile
in interface TestScriptFactory
public void emit() throws IOException
emit
in interface TestScriptFactory
IOException
Copyright © 2017. All rights reserved.