コード例 #1
0
 public static String getTimerEventJobName(
     final Long processDefinitionId,
     final SEventDefinition eventDefinition,
     final SCatchEventInstance flowNodeInstance) {
   if (SFlowNodeType.START_EVENT.equals(eventDefinition.getType())) {
     return PREFIX + processDefinitionId + eventDefinition.getName();
   } else {
     return PREFIX + flowNodeInstance.getId();
   }
 }
コード例 #2
0
 public static String getTimerEventJobName(
     final Long processDefinitionId,
     final SEventDefinition eventDefinition,
     final long parentProcessInstanceId,
     final long subProcessId) {
   return PREFIX
       + processDefinitionId
       + eventDefinition.getName()
       + parentProcessInstanceId
       + subProcessId;
 }