Tabnine Logo
DbHistoryEventHandler.handleEvent
Code IndexAdd Tabnine to your IDE (free)

How to use
handleEvent
method
in
org.camunda.bpm.engine.impl.history.handler.DbHistoryEventHandler

Best Java code snippets using org.camunda.bpm.engine.impl.history.handler.DbHistoryEventHandler.handleEvent (Showing top 4 results out of 315)

origin: camunda/camunda-bpm-platform

public void handleEvents(List<HistoryEvent> historyEvents) {
 for (HistoryEvent historyEvent : historyEvents) {
  handleEvent(historyEvent);
 }
}
origin: camunda/camunda-bpm-platform

public void handleEvents(List<HistoryEvent> historyEvents) {
 for (HistoryEvent historyEvent : historyEvents) {
  handleEvent(historyEvent);
 }
}
origin: org.camunda.bpm/camunda-engine

public void handleEvents(List<HistoryEvent> historyEvents) {
 for (HistoryEvent historyEvent : historyEvents) {
  handleEvent(historyEvent);
 }
}
origin: org.camunda.bpm.extension/camunda-bpm-process-test-coverage

@Override
public void handleEvent(HistoryEvent historyEvent) {
  super.handleEvent(historyEvent);
  if (coverageTestRunState == null) {
    logger.warning("Coverage history event listener in use but no coverage run state assigned!");
    return;
  }
  if (historyEvent instanceof HistoricActivityInstanceEventEntity) {
    HistoricActivityInstanceEventEntity activityEvent = (HistoricActivityInstanceEventEntity) historyEvent;
    if (activityEvent.getActivityType().equals("multiInstanceBody"))
      return;
    final CoveredFlowNode coveredActivity =
      new CoveredFlowNode(historyEvent.getProcessDefinitionKey(), activityEvent.getActivityId());
    // Cover event start
    if (isInitialEvent(historyEvent)) {
      coverageTestRunState.addCoveredElement(coveredActivity);
    }
    // Cover event end
    else if (isEndEvent(historyEvent)) {
      coverageTestRunState.endCoveredElement(coveredActivity);
    }
  }
}
org.camunda.bpm.engine.impl.history.handlerDbHistoryEventHandlerhandleEvent

Popular methods of DbHistoryEventHandler

  • <init>
  • isInitialEvent
  • getDbEntityManager
  • insertHistoricDecisionEvaluationEvent
  • insertHistoricVariableUpdateEntity
    customized insert behavior for HistoricVariableUpdateEventEntity
  • insertOrUpdate
    general history event insert behavior
  • shouldWriteHistoricDetail

Popular in Java

  • Reactive rest calls using spring rest template
  • addToBackStack (FragmentTransaction)
  • onCreateOptionsMenu (Activity)
  • orElseThrow (Optional)
    Return the contained value, if present, otherwise throw an exception to be created by the provided s
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • PrintStream (java.io)
    Fake signature of an existing Java class.
  • PrintWriter (java.io)
    Wraps either an existing OutputStream or an existing Writerand provides convenience methods for prin
  • Date (java.util)
    A specific moment in time, with millisecond precision. Values typically come from System#currentTime
  • Scanner (java.util)
    A parser that parses a text string of primitive types and strings with the help of regular expressio
  • Stream (java.util.stream)
    A sequence of elements supporting sequential and parallel aggregate operations. The following exampl
  • Top 17 PhpStorm Plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyStudentsTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now