|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.atlassian.clover.api.ci.CIOptions.Builder
public static class CIOptions.Builder
This class is used to configure one of the Integrator
classes.
Obtain a set of CIOptions using the static factory method: CIOptions.newDefaults().
Constructor Summary | |
---|---|
CIOptions.Builder()
Creates a brand new CIOptionsBuilder with default values. |
Method Summary | |
---|---|
CIOptions |
build()
|
CIOptions.Builder |
fullClean(boolean fullClean)
|
CIOptions.Builder |
historical(boolean historical)
|
CIOptions.Builder |
historyDir(java.io.File historyDir)
Use the given history directory to store Clover artifacts which are needed by Clover between builds. |
CIOptions.Builder |
html(boolean html)
|
CIOptions.Builder |
json(boolean json)
|
CIOptions.Builder |
license(java.io.File license)
Use the given Clover license Path for the build. |
CIOptions.Builder |
licenseCert(java.lang.String licenseCert)
Use the given Clover license String for the build. |
CIOptions.Builder |
optimize(boolean optimize)
Whether or not to optimize tests. |
CIOptions.Builder |
pdf(boolean pdf)
|
java.lang.String |
toString()
|
CIOptions.Builder |
xml(boolean xml)
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CIOptions.Builder()
Method Detail |
---|
public CIOptions.Builder optimize(boolean optimize)
optimize
- true if tests should be optimized using Clover's test optimization
public CIOptions.Builder html(boolean html)
public CIOptions.Builder json(boolean json)
public CIOptions.Builder pdf(boolean pdf)
public CIOptions.Builder xml(boolean xml)
public CIOptions.Builder historical(boolean historical)
public CIOptions.Builder licenseCert(java.lang.String licenseCert)
licenseCert
- the license cert (including newline chars) to use
public CIOptions.Builder license(java.io.File license)
license
- a file representing the clover license
public CIOptions.Builder historyDir(java.io.File historyDir)
historyDir
- a directory to store Clover data between builds.
public CIOptions.Builder fullClean(boolean fullClean)
fullClean
- true if all previous clover data (excluding the historydir) should be removed before running
the build.
public CIOptions build()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |