public class ExcelTestDocsGenerator extends AbstractTestDocsGenerator
| Constructor and Description |
|---|
ExcelTestDocsGenerator()
Default constructor using test doc template name.
|
| Modifier and Type | Method and Description |
|---|---|
static ExcelTestDocsGenerator |
build()
Builds a new test doc generator.
|
void |
doBody(OutputStream buffered)
Generates the test documentation.
|
void |
doHeader(OutputStream buffered)
Generates the test documentation.
|
String |
getAuthor() |
String |
getCompany() |
String |
getPageTitle() |
protected Properties |
getTestDocProperties()
Gets the test doc properties.
|
static void |
main(String[] args)
Executable application cli.
|
void |
setAuthor(String author) |
void |
setCompany(String company) |
void |
setPageTitle(String pageTitle) |
ExcelTestDocsGenerator |
useSrcDirectory(String testDir)
Adds a custom test source directory.
|
ExcelTestDocsGenerator |
withAuthor(String author)
Adds a custom author name.
|
ExcelTestDocsGenerator |
withCompany(String company)
Adds a custom company.
|
ExcelTestDocsGenerator |
withCustomHeaders(String customHeaders)
Adds a custom header configuration.
|
ExcelTestDocsGenerator |
withOutputFile(String filename)
Adds a custom output file.
|
ExcelTestDocsGenerator |
withPageTitle(String pageTitle)
Adds a custom page title.
|
generateDoc, getSrcDirectorypublic ExcelTestDocsGenerator()
public void doHeader(OutputStream buffered) throws TransformerException, IOException, SAXException
AbstractTestDocsGeneratordoHeader in class AbstractTestDocsGeneratorTransformerExceptionIOExceptionSAXExceptionpublic void doBody(OutputStream buffered) throws TransformerException, IOException, SAXException
AbstractTestDocsGeneratordoBody in class AbstractTestDocsGeneratorTransformerExceptionIOExceptionSAXExceptionprotected Properties getTestDocProperties()
AbstractTestDocsGeneratorgetTestDocProperties in class AbstractTestDocsGeneratorpublic static ExcelTestDocsGenerator build()
public ExcelTestDocsGenerator withOutputFile(String filename)
filename - the output file name.public ExcelTestDocsGenerator withPageTitle(String pageTitle)
pageTitle - the page title.public ExcelTestDocsGenerator useSrcDirectory(String testDir)
testDir - the test source directory.public ExcelTestDocsGenerator withAuthor(String author)
author - the author name.public ExcelTestDocsGenerator withCompany(String company)
company - the company name.public ExcelTestDocsGenerator withCustomHeaders(String customHeaders)
customHeaders - the header configuration.public static void main(String[] args)
args - public void setPageTitle(String pageTitle)
pageTitle - the pageTitle to setpublic String getPageTitle()
public String getCompany()
public void setCompany(String company)
company - the company to setpublic String getAuthor()
public void setAuthor(String author)
author - the author to setCopyright © 2008–2018 ConSol Software GmbH. All rights reserved.