Class MetricsBpmnParseListener
- java.lang.Object
-
- org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListener
-
- org.camunda.bpm.engine.impl.metrics.parser.MetricsBpmnParseListener
-
- All Implemented Interfaces:
BpmnParseListener
public class MetricsBpmnParseListener extends AbstractBpmnParseListener
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description static MetricsExecutionListener
ACTIVITY_INSTANCE_END_COUNTER
static MetricsExecutionListener
ACTIVITY_INSTANCE_START_COUNTER
static MetricsExecutionListener
ROOT_PROCESS_INSTANCE_START_COUNTER
-
Constructor Summary
Constructors Constructor Description MetricsBpmnParseListener()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected void
addListeners(ActivityImpl activity)
void
parseBoundaryEvent(Element boundaryEventElement, ScopeImpl scopeElement, ActivityImpl activity)
void
parseBusinessRuleTask(Element businessRuleTaskElement, ScopeImpl scope, ActivityImpl activity)
void
parseCallActivity(Element callActivityElement, ScopeImpl scope, ActivityImpl activity)
void
parseEndEvent(Element endEventElement, ScopeImpl scope, ActivityImpl activity)
void
parseEventBasedGateway(Element eventBasedGwElement, ScopeImpl scope, ActivityImpl activity)
void
parseExclusiveGateway(Element exclusiveGwElement, ScopeImpl scope, ActivityImpl activity)
void
parseInclusiveGateway(Element inclusiveGwElement, ScopeImpl scope, ActivityImpl activity)
void
parseIntermediateCatchEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity)
void
parseIntermediateThrowEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity)
void
parseManualTask(Element manualTaskElement, ScopeImpl scope, ActivityImpl activity)
void
parseMultiInstanceLoopCharacteristics(Element activityElement, Element multiInstanceLoopCharacteristicsElement, ActivityImpl activity)
void
parseParallelGateway(Element parallelGwElement, ScopeImpl scope, ActivityImpl activity)
void
parseProcess(Element processElement, ProcessDefinitionEntity processDefinition)
void
parseReceiveTask(Element receiveTaskElement, ScopeImpl scope, ActivityImpl activity)
void
parseScriptTask(Element scriptTaskElement, ScopeImpl scope, ActivityImpl activity)
void
parseSendTask(Element sendTaskElement, ScopeImpl scope, ActivityImpl activity)
void
parseServiceTask(Element serviceTaskElement, ScopeImpl scope, ActivityImpl activity)
void
parseStartEvent(Element startEventElement, ScopeImpl scope, ActivityImpl activity)
void
parseSubProcess(Element subProcessElement, ScopeImpl scope, ActivityImpl activity)
void
parseTask(Element taskElement, ScopeImpl scope, ActivityImpl activity)
void
parseTransaction(Element transactionElement, ScopeImpl scope, ActivityImpl activity)
void
parseUserTask(Element userTaskElement, ScopeImpl scope, ActivityImpl activity)
-
Methods inherited from class org.camunda.bpm.engine.impl.bpmn.parser.AbstractBpmnParseListener
parseBoundaryConditionalEventDefinition, parseBoundaryErrorEventDefinition, parseBoundaryEscalationEventDefinition, parseBoundaryMessageEventDefinition, parseBoundarySignalEventDefinition, parseBoundaryTimerEventDefinition, parseCompensateEventDefinition, parseConditionalStartEventForEventSubprocess, parseIntermediateConditionalEventDefinition, parseIntermediateMessageCatchEventDefinition, parseIntermediateSignalCatchEventDefinition, parseIntermediateTimerEventDefinition, parseIoMapping, parseProperty, parseRootElement, parseSequenceFlow
-
-
-
-
Field Detail
-
ROOT_PROCESS_INSTANCE_START_COUNTER
public static MetricsExecutionListener ROOT_PROCESS_INSTANCE_START_COUNTER
-
ACTIVITY_INSTANCE_START_COUNTER
public static MetricsExecutionListener ACTIVITY_INSTANCE_START_COUNTER
-
ACTIVITY_INSTANCE_END_COUNTER
public static MetricsExecutionListener ACTIVITY_INSTANCE_END_COUNTER
-
-
Method Detail
-
addListeners
protected void addListeners(ActivityImpl activity)
-
parseProcess
public void parseProcess(Element processElement, ProcessDefinitionEntity processDefinition)
- Specified by:
parseProcess
in interfaceBpmnParseListener
- Overrides:
parseProcess
in classAbstractBpmnParseListener
-
parseStartEvent
public void parseStartEvent(Element startEventElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseStartEvent
in interfaceBpmnParseListener
- Overrides:
parseStartEvent
in classAbstractBpmnParseListener
-
parseExclusiveGateway
public void parseExclusiveGateway(Element exclusiveGwElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseExclusiveGateway
in interfaceBpmnParseListener
- Overrides:
parseExclusiveGateway
in classAbstractBpmnParseListener
-
parseInclusiveGateway
public void parseInclusiveGateway(Element inclusiveGwElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseInclusiveGateway
in interfaceBpmnParseListener
- Overrides:
parseInclusiveGateway
in classAbstractBpmnParseListener
-
parseParallelGateway
public void parseParallelGateway(Element parallelGwElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseParallelGateway
in interfaceBpmnParseListener
- Overrides:
parseParallelGateway
in classAbstractBpmnParseListener
-
parseScriptTask
public void parseScriptTask(Element scriptTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseScriptTask
in interfaceBpmnParseListener
- Overrides:
parseScriptTask
in classAbstractBpmnParseListener
-
parseServiceTask
public void parseServiceTask(Element serviceTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseServiceTask
in interfaceBpmnParseListener
- Overrides:
parseServiceTask
in classAbstractBpmnParseListener
-
parseBusinessRuleTask
public void parseBusinessRuleTask(Element businessRuleTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseBusinessRuleTask
in interfaceBpmnParseListener
- Overrides:
parseBusinessRuleTask
in classAbstractBpmnParseListener
-
parseTask
public void parseTask(Element taskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseTask
in interfaceBpmnParseListener
- Overrides:
parseTask
in classAbstractBpmnParseListener
-
parseManualTask
public void parseManualTask(Element manualTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseManualTask
in interfaceBpmnParseListener
- Overrides:
parseManualTask
in classAbstractBpmnParseListener
-
parseUserTask
public void parseUserTask(Element userTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseUserTask
in interfaceBpmnParseListener
- Overrides:
parseUserTask
in classAbstractBpmnParseListener
-
parseEndEvent
public void parseEndEvent(Element endEventElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseEndEvent
in interfaceBpmnParseListener
- Overrides:
parseEndEvent
in classAbstractBpmnParseListener
-
parseSubProcess
public void parseSubProcess(Element subProcessElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseSubProcess
in interfaceBpmnParseListener
- Overrides:
parseSubProcess
in classAbstractBpmnParseListener
-
parseCallActivity
public void parseCallActivity(Element callActivityElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseCallActivity
in interfaceBpmnParseListener
- Overrides:
parseCallActivity
in classAbstractBpmnParseListener
-
parseSendTask
public void parseSendTask(Element sendTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseSendTask
in interfaceBpmnParseListener
- Overrides:
parseSendTask
in classAbstractBpmnParseListener
-
parseReceiveTask
public void parseReceiveTask(Element receiveTaskElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseReceiveTask
in interfaceBpmnParseListener
- Overrides:
parseReceiveTask
in classAbstractBpmnParseListener
-
parseEventBasedGateway
public void parseEventBasedGateway(Element eventBasedGwElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseEventBasedGateway
in interfaceBpmnParseListener
- Overrides:
parseEventBasedGateway
in classAbstractBpmnParseListener
-
parseTransaction
public void parseTransaction(Element transactionElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseTransaction
in interfaceBpmnParseListener
- Overrides:
parseTransaction
in classAbstractBpmnParseListener
-
parseIntermediateThrowEvent
public void parseIntermediateThrowEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseIntermediateThrowEvent
in interfaceBpmnParseListener
- Overrides:
parseIntermediateThrowEvent
in classAbstractBpmnParseListener
-
parseIntermediateCatchEvent
public void parseIntermediateCatchEvent(Element intermediateEventElement, ScopeImpl scope, ActivityImpl activity)
- Specified by:
parseIntermediateCatchEvent
in interfaceBpmnParseListener
- Overrides:
parseIntermediateCatchEvent
in classAbstractBpmnParseListener
-
parseBoundaryEvent
public void parseBoundaryEvent(Element boundaryEventElement, ScopeImpl scopeElement, ActivityImpl activity)
- Specified by:
parseBoundaryEvent
in interfaceBpmnParseListener
- Overrides:
parseBoundaryEvent
in classAbstractBpmnParseListener
-
parseMultiInstanceLoopCharacteristics
public void parseMultiInstanceLoopCharacteristics(Element activityElement, Element multiInstanceLoopCharacteristicsElement, ActivityImpl activity)
- Specified by:
parseMultiInstanceLoopCharacteristics
in interfaceBpmnParseListener
- Overrides:
parseMultiInstanceLoopCharacteristics
in classAbstractBpmnParseListener
-
-