Package io.flowcov.camunda.model
Class AggregatedClassCoverage
- java.lang.Object
-
- io.flowcov.camunda.model.AggregatedClassCoverage
-
- All Implemented Interfaces:
AggregatedCoverage
public class AggregatedClassCoverage extends java.lang.Object implements AggregatedCoverage
Test class coverage model. The class coverage is an aggregation of all test method coverages.
-
-
Constructor Summary
Constructors Constructor Description AggregatedClassCoverage(java.util.List<ClassCoverage> classCoverages)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description doublegetCoveragePercentage()Retrives the coverage percentage for all process definitions.doublegetCoveragePercentage(java.lang.String processDefinitionKey)Retrieves the coverage percentage for the given process definition key.java.util.Set<java.lang.String>getCoveredFlowNodeIds(java.lang.String processDefinitionKey)Retrieves covered flow node IDs for the given process definition key.java.util.Set<CoveredFlowNode>getCoveredFlowNodes(java.lang.String processDefinitionKey)Retrieves covered flow nodes for the given process definition key.java.util.Set<java.lang.String>getCoveredSequenceFlowIds(java.lang.String processDefinitionKey)Retrieves covered sequence flow IDs for the given process definition key.java.util.Set<CoveredSequenceFlow>getCoveredSequenceFlows(java.lang.String processDefinitionKey)Retrieves covered sequence flow IDs for the given process definition key.java.util.Set<org.camunda.bpm.engine.repository.ProcessDefinition>getProcessDefinitions()Retrieves the process definitions of the coverage.
-
-
-
Constructor Detail
-
AggregatedClassCoverage
public AggregatedClassCoverage(java.util.List<ClassCoverage> classCoverages)
-
-
Method Detail
-
getCoveredFlowNodeIds
public java.util.Set<java.lang.String> getCoveredFlowNodeIds(java.lang.String processDefinitionKey)
Description copied from interface:AggregatedCoverageRetrieves covered flow node IDs for the given process definition key.- Specified by:
getCoveredFlowNodeIdsin interfaceAggregatedCoverage- Returns:
-
getCoveredFlowNodes
public java.util.Set<CoveredFlowNode> getCoveredFlowNodes(java.lang.String processDefinitionKey)
Description copied from interface:AggregatedCoverageRetrieves covered flow nodes for the given process definition key.- Specified by:
getCoveredFlowNodesin interfaceAggregatedCoverage- Returns:
-
getCoveredSequenceFlowIds
public java.util.Set<java.lang.String> getCoveredSequenceFlowIds(java.lang.String processDefinitionKey)
Description copied from interface:AggregatedCoverageRetrieves covered sequence flow IDs for the given process definition key.- Specified by:
getCoveredSequenceFlowIdsin interfaceAggregatedCoverage- Returns:
-
getCoveredSequenceFlows
public java.util.Set<CoveredSequenceFlow> getCoveredSequenceFlows(java.lang.String processDefinitionKey)
Description copied from interface:AggregatedCoverageRetrieves covered sequence flow IDs for the given process definition key.- Specified by:
getCoveredSequenceFlowsin interfaceAggregatedCoverage- Returns:
-
getProcessDefinitions
public java.util.Set<org.camunda.bpm.engine.repository.ProcessDefinition> getProcessDefinitions()
Description copied from interface:AggregatedCoverageRetrieves the process definitions of the coverage.- Specified by:
getProcessDefinitionsin interfaceAggregatedCoverage- Returns:
-
getCoveragePercentage
public double getCoveragePercentage()
Description copied from interface:AggregatedCoverageRetrives the coverage percentage for all process definitions.- Specified by:
getCoveragePercentagein interfaceAggregatedCoverage- Returns:
-
getCoveragePercentage
public double getCoveragePercentage(java.lang.String processDefinitionKey)
Description copied from interface:AggregatedCoverageRetrieves the coverage percentage for the given process definition key.- Specified by:
getCoveragePercentagein interfaceAggregatedCoverage- Returns:
-
-