listen to notifications from bpm process for this task . concode_field_sep Long processInstanceId concode_elem_sep String processName concode_elem_sep Map<BpmEventType,List<Consumer<?>>> listeners concode_elem_sep ObjectMapper MAPPER concode_elem_sep List<BpmNotificationRest> events concode_elem_sep String accessToken concode_elem_sep BpmModuleConfig config concode_elem_sep Logger log concode_elem_sep Integer taskId concode_field_sep Integer getTaskId concode_elem_sep String getProcessName concode_elem_sep Map<String,Object> getExtendedProcessParameters concode_elem_sep Serializable getProcessParameters concode_elem_sep void setAccessToken concode_elem_sep void setTaskId concode_elem_sep int compareTo concode_elem_sep void notify concode_elem_sep void setProcessName concode_elem_sep void setProcessInstanceId concode_elem_sep String getProcessId concode_elem_sep Long getProcessInstanceId concode_elem_sep void setBpmConfig
void function ( BpmEventType arg0 , Consumer < T > arg1 ) { List < Consumer < ? >> loc0 = listeners . get ( arg0 ) ; if ( loc0 == null ) { loc0 = new ArrayList < > ( ) ; } loc0 . add ( arg1 ) ; listeners . put ( arg0 , loc0 ) ; }