public static ArchivedGatewayInstance toArchivedGatewayInstance(final SAGatewayInstance saGatewayInstance, final FlowNodeStateManager flowNodeStateManager) { final String name = saGatewayInstance.getName(); final ArchivedGatewayInstanceImpl aGatewayInstance = new ArchivedGatewayInstanceImpl(name); updateArchivedFlowNodeInstance(aGatewayInstance, saGatewayInstance, flowNodeStateManager.getState(saGatewayInstance.getStateId()).getName()); return aGatewayInstance; }
public static ArchivedGatewayInstance toArchivedGatewayInstance(final SAGatewayInstance saGatewayInstance, final FlowNodeStateManager flowNodeStateManager) { final String name = saGatewayInstance.getName(); final ArchivedGatewayInstanceImpl aGatewayInstance = new ArchivedGatewayInstanceImpl(name); updateArchivedFlowNodeInstance(aGatewayInstance, saGatewayInstance, flowNodeStateManager.getState(saGatewayInstance.getStateId()).getName()); return aGatewayInstance; }
public static ArchivedGatewayInstance toArchivedGatewayInstance(final SAActivityInstance sInstance, final FlowNodeStateManager flowNodeStateManager) { final ArchivedGatewayInstanceImpl archGatewayInstanceImpl = new ArchivedGatewayInstanceImpl(sInstance.getName()); updateArchivedFlowNodeInstance(archGatewayInstanceImpl, sInstance, flowNodeStateManager.getState(sInstance.getStateId()).getName()); return archGatewayInstanceImpl; }
public static ArchivedGatewayInstance toArchivedGatewayInstance(final SAActivityInstance sInstance, final FlowNodeStateManager flowNodeStateManager) { final ArchivedGatewayInstanceImpl archGatewayInstanceImpl = new ArchivedGatewayInstanceImpl(sInstance.getName()); updateArchivedFlowNodeInstance(archGatewayInstanceImpl, sInstance, flowNodeStateManager.getState(sInstance.getStateId()).getName()); return archGatewayInstanceImpl; }