/** * Push the specified completion event to the parent node */ protected final void pushCompletion(Completion completion) { if (parent != null) { parent.receiveCompletion(parent.getIndex(this), completion); } }
/** * Push the specified job up to the parent node in the iteration strategy. */ protected final void pushJob(Job job) { if (parent != null) { int index = parent.getIndex(this); if (index < 0) { throw new WorkflowStructureException( "Parent doesn't have this node in its child list!"); } parent.receiveJob(parent.getIndex(this), job); } }
/** * Push the specified completion event to the parent node */ protected final void pushCompletion(Completion completion) { if (parent != null) { parent.receiveCompletion(parent.getIndex(this), completion); } }
/** * Push the specified completion event to the parent node */ protected final void pushCompletion(Completion completion) { if (parent != null) { parent.receiveCompletion(parent.getIndex(this), completion); } }
/** * Push the specified job up to the parent node in the iteration strategy. */ protected final void pushJob(Job job) { if (parent != null) { int index = parent.getIndex(this); if (index < 0) { throw new WorkflowStructureException( "Parent doesn't have this node in its child list!"); } parent.receiveJob(parent.getIndex(this), job); } }
/** * Push the specified job up to the parent node in the iteration strategy. */ protected final void pushJob(Job job) { if (parent != null) { int index = parent.getIndex(this); if (index < 0) { throw new WorkflowStructureException( "Parent doesn't have this node in its child list!"); } parent.receiveJob(parent.getIndex(this), job); } }