Java Code Examples for org.camunda.bpm.engine.delegate.DelegateCaseExecution#getEventName()

The following examples show how to use org.camunda.bpm.engine.delegate.DelegateCaseExecution#getEventName() . You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example 1
Source File: MilestoneListener.java    From camunda-bpm-platform with Apache License 2.0 4 votes vote down vote up
public void notify(DelegateCaseExecution caseExecution) throws Exception {
  String eventName = caseExecution.getEventName();
  caseExecution.setVariable(eventName, true);
}
 
Example 2
Source File: CloseCaseExecutionListener.java    From camunda-bpm-platform with Apache License 2.0 4 votes vote down vote up
public void notify(DelegateCaseExecution caseExecution) throws Exception {
  EVENT = caseExecution.getEventName();
  COUNTER = COUNTER + 1;
  ON_CASE_EXECUTION_ID = caseExecution.getId();
}
 
Example 3
Source File: SentryTriggerListener.java    From camunda-bpm-platform with Apache License 2.0 4 votes vote down vote up
public void notify(DelegateCaseExecution caseExecution) throws Exception {
  String eventName = caseExecution.getEventName();
  caseExecution.setVariable(eventName, true);
}