Package io.flowcov.camunda.model
Interface AggregatedCoverage
-
- All Known Implementing Classes:
AggregatedClassCoverage,ClassCoverage,MethodCoverage
public interface AggregatedCoverageA coverage that may have multiple deployed process definitions.
-
-
Method Summary
All Methods Instance Methods Abstract 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.
-
-
-
Method Detail
-
getCoveredFlowNodeIds
java.util.Set<java.lang.String> getCoveredFlowNodeIds(java.lang.String processDefinitionKey)
Retrieves covered flow node IDs for the given process definition key.- Parameters:
processDefinitionKey-- Returns:
-
getCoveredFlowNodes
java.util.Set<CoveredFlowNode> getCoveredFlowNodes(java.lang.String processDefinitionKey)
Retrieves covered flow nodes for the given process definition key.- Parameters:
processDefinitionKey-- Returns:
-
getCoveredSequenceFlowIds
java.util.Set<java.lang.String> getCoveredSequenceFlowIds(java.lang.String processDefinitionKey)
Retrieves covered sequence flow IDs for the given process definition key.- Parameters:
processDefinitionKey-- Returns:
-
getCoveredSequenceFlows
java.util.Set<CoveredSequenceFlow> getCoveredSequenceFlows(java.lang.String processDefinitionKey)
Retrieves covered sequence flow IDs for the given process definition key.- Parameters:
processDefinitionKey-- Returns:
-
getProcessDefinitions
java.util.Set<org.camunda.bpm.engine.repository.ProcessDefinition> getProcessDefinitions()
Retrieves the process definitions of the coverage.- Returns:
-
getCoveragePercentage
double getCoveragePercentage()
Retrives the coverage percentage for all process definitions.- Returns:
-
getCoveragePercentage
double getCoveragePercentage(java.lang.String processDefinitionKey)
Retrieves the coverage percentage for the given process definition key.- Parameters:
processDefinitionKey-- Returns:
-
-