-
- All Implemented Interfaces:
public final class ProcessEngineCoverageExtension.Builder
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classProcessEngineCoverageExtension.Builder.Companion
-
Field Summary
Fields Modifier and Type Field Description private StringconfigurationResourceprivate BooleandetailedCoverageLoggingprivate BooleanhandleTestMethodCoverageprivate DoublecoverageAtLeastprivate List<String>excludedProcessDefinitionKeysprivate StringoptionalAssertCoverageAtLeastProperty
-
Method Summary
Modifier and Type Method Description final StringgetConfigurationResource()final UnitsetConfigurationResource(String configurationResource)final BooleangetDetailedCoverageLogging()final UnitsetDetailedCoverageLogging(Boolean detailedCoverageLogging)final BooleangetHandleTestMethodCoverage()final UnitsetHandleTestMethodCoverage(Boolean handleTestMethodCoverage)final DoublegetCoverageAtLeast()final UnitsetCoverageAtLeast(Double coverageAtLeast)final List<String>getExcludedProcessDefinitionKeys()final UnitsetExcludedProcessDefinitionKeys(List<String> excludedProcessDefinitionKeys)final StringgetOptionalAssertCoverageAtLeastProperty()final UnitsetOptionalAssertCoverageAtLeastProperty(String optionalAssertCoverageAtLeastProperty)final ProcessEngineCoverageExtension.BuilderconfigurationResource(String configurationResource)Set the configuration resource for initializing the process engine. final ProcessEngineCoverageExtension.BuilderwithDetailedCoverageLogging()Turns on detailed coverage logging in debug scope. final ProcessEngineCoverageExtension.BuilderhandleTestMethodCoverage(Boolean handleTestMethodCoverage)Controls whether method coverage should be evaluated. final ProcessEngineCoverageExtension.BuilderassertClassCoverageAtLeast(Double percentage)Asserts if the class coverage is greater than the passed percentage. final ProcessEngineCoverageExtension.BuilderexcludeProcessDefinitionKeys(String processDefinitionKeys)Specifies keys of process definitions, that should be excluded from the coverage analysis. final ProcessEngineCoverageExtension.BuilderoptionalAssertCoverageAtLeastProperty(String property)Specifies the key of the system property for optionally reading a minimal assertion coverage. final ProcessEngineCoverageExtensionbuild()-
-
Method Detail
-
getConfigurationResource
final String getConfigurationResource()
-
setConfigurationResource
final Unit setConfigurationResource(String configurationResource)
-
getDetailedCoverageLogging
final Boolean getDetailedCoverageLogging()
-
setDetailedCoverageLogging
final Unit setDetailedCoverageLogging(Boolean detailedCoverageLogging)
-
getHandleTestMethodCoverage
final Boolean getHandleTestMethodCoverage()
-
setHandleTestMethodCoverage
final Unit setHandleTestMethodCoverage(Boolean handleTestMethodCoverage)
-
getCoverageAtLeast
final Double getCoverageAtLeast()
-
setCoverageAtLeast
final Unit setCoverageAtLeast(Double coverageAtLeast)
-
getExcludedProcessDefinitionKeys
final List<String> getExcludedProcessDefinitionKeys()
-
setExcludedProcessDefinitionKeys
final Unit setExcludedProcessDefinitionKeys(List<String> excludedProcessDefinitionKeys)
-
getOptionalAssertCoverageAtLeastProperty
final String getOptionalAssertCoverageAtLeastProperty()
-
setOptionalAssertCoverageAtLeastProperty
final Unit setOptionalAssertCoverageAtLeastProperty(String optionalAssertCoverageAtLeastProperty)
-
configurationResource
final ProcessEngineCoverageExtension.Builder configurationResource(String configurationResource)
Set the configuration resource for initializing the process engine.
-
withDetailedCoverageLogging
final ProcessEngineCoverageExtension.Builder withDetailedCoverageLogging()
Turns on detailed coverage logging in debug scope.
-
handleTestMethodCoverage
final ProcessEngineCoverageExtension.Builder handleTestMethodCoverage(Boolean handleTestMethodCoverage)
Controls whether method coverage should be evaluated.
-
assertClassCoverageAtLeast
final ProcessEngineCoverageExtension.Builder assertClassCoverageAtLeast(Double percentage)
Asserts if the class coverage is greater than the passed percentage.
- Parameters:
percentage- minimal percentage for class coverage
-
excludeProcessDefinitionKeys
final ProcessEngineCoverageExtension.Builder excludeProcessDefinitionKeys(String processDefinitionKeys)
Specifies keys of process definitions, that should be excluded from the coverage analysis.
-
optionalAssertCoverageAtLeastProperty
final ProcessEngineCoverageExtension.Builder optionalAssertCoverageAtLeastProperty(String property)
Specifies the key of the system property for optionally reading a minimal assertion coverage.
-
build
final ProcessEngineCoverageExtension build()
-
-
-
-