public void fire() throws IllegalStateException { if (pushDataCalled) throw new IllegalStateException( "Data has already been pushed, fire must be called first!"); dataflow.fire(instanceOwningProcessId, context); }
public void fire() throws IllegalStateException { if (pushDataCalled) throw new IllegalStateException( "Data has already been pushed, fire must be called first!"); monitorManager.registerNode(this, instanceOwningProcessId.split(":"), new HashSet<MonitorableProperty<?>>()); dataflow.fire(instanceOwningProcessId, context); }
public synchronized void fire() throws IllegalStateException { if (getState().equals(State.running)) { throw new IllegalStateException( "Workflow is already running!"); } workflowStarted = new Timestamp(System.currentTimeMillis()); setState(State.running); if (provEnabled) { workflowItem.setInvocationStarted(workflowStarted); context.getProvenanceReporter().addProvenanceItem(workflowItem); } HashSet<MonitorableProperty<?>> properties = new HashSet<MonitorableProperty<?>>(); properties.add(new StateProperty()); monitorManager.registerNode(this, instanceOwningProcessId.split(":"), properties); dataflow.fire(instanceOwningProcessId, context); }