public String toString() { final StringBuilder sb = new StringBuilder("WorkflowProcessInstance"); sb.append(getId()); sb.append(" [processId="); sb.append(getProcessId()); sb.append(",state="); sb.append(getState()); sb.append("]"); return sb.toString(); }
stream.writeLong(workFlow.getId()); stream.writeUTF(workFlow.getProcessId()); stream.writeInt(workFlow.getState()); stream.writeLong(workFlow.getNodeInstanceCounter());
when(processInstance.getDescription()).thenReturn(""); when(processInstance.getProcessName()).thenReturn("MyProcess"); when(processInstance.getState()).thenReturn(1); when(processInstance.getVariables()).thenReturn(variables);
when(processInstance.getDescription()).thenReturn(""); when(processInstance.getProcessName()).thenReturn("MyProcess"); when(processInstance.getState()).thenReturn(1); when(processInstance.getVariables()).thenReturn(variables); when(processInstance.getKnowledgeRuntime()).thenReturn(kruntime);
logger.debug("Signal {} received with data {} in process instance {}", type, event, getId()); synchronized (this) { if (getState() != ProcessInstance.STATE_ACTIVE) { return;
.setId( workFlow.getId() ) .setProcessId( workFlow.getProcessId() ) .setState( workFlow.getState() ) .setNodeInstanceCounter( workFlow.getNodeInstanceCounter() ) .setProcessType( workFlow.getProcess().getType() )
public String toString() { final StringBuilder sb = new StringBuilder("WorkflowProcessInstance"); sb.append(getId()); sb.append(" [processId="); sb.append(getProcessId()); sb.append(",state="); sb.append(getState()); sb.append("]"); return sb.toString(); }
stream.writeLong(workFlow.getId()); stream.writeUTF(workFlow.getProcessId()); stream.writeInt(workFlow.getState()); stream.writeLong(workFlow.getNodeInstanceCounter());
logger.debug("Signal {} received with data {} in process instance {}", type, event, getId()); synchronized (this) { if (getState() != ProcessInstance.STATE_ACTIVE) { return;
.setId( workFlow.getId() ) .setProcessId( workFlow.getProcessId() ) .setState( workFlow.getState() ) .setNodeInstanceCounter( workFlow.getNodeInstanceCounter() ) .setProcessType( workFlow.getProcess().getType() )