Class MetricsExecutionListener
- java.lang.Object
-
- org.camunda.bpm.engine.impl.metrics.parser.MetricsExecutionListener
-
- All Implemented Interfaces:
DelegateListener<DelegateExecution>
,ExecutionListener
public class MetricsExecutionListener extends Object implements ExecutionListener
- Author:
- Daniel Meyer
-
-
Field Summary
Fields Modifier and Type Field Description protected Function<DelegateExecution,Boolean>
condition
protected String
metricsName
-
Fields inherited from interface org.camunda.bpm.engine.delegate.ExecutionListener
EVENTNAME_END, EVENTNAME_START, EVENTNAME_TAKE
-
-
Constructor Summary
Constructors Constructor Description MetricsExecutionListener(String metricsName)
MetricsExecutionListener(String metricsName, Function<DelegateExecution,Boolean> condition)
-
-
-
Field Detail
-
metricsName
protected String metricsName
-
condition
protected Function<DelegateExecution,Boolean> condition
-
-
Constructor Detail
-
MetricsExecutionListener
public MetricsExecutionListener(String metricsName)
-
MetricsExecutionListener
public MetricsExecutionListener(String metricsName, Function<DelegateExecution,Boolean> condition)
-
-
Method Detail
-
notify
public void notify(DelegateExecution execution) throws Exception
- Specified by:
notify
in interfaceDelegateListener<DelegateExecution>
- Specified by:
notify
in interfaceExecutionListener
- Throws:
Exception
-
-