5 require_once
'./Services/WorkflowEngine/interfaces/ilNode.php';
7 require_once
'./Services/WorkflowEngine/interfaces/ilEmitter.php';
9 require_once
'./Services/WorkflowEngine/interfaces/ilDetector.php';
11 require_once
'./Services/WorkflowEngine/interfaces/ilActivity.php';
13 require_once
'./Services/WorkflowEngine/interfaces/ilWorkflow.php';
72 $this->detectors[] = $detector;
73 $this->context->registerDetector($detector );
93 $this->emitters[] = $emitter;
113 $this->activities[] = $activity;
175 return $this->runtime_vars[
$name];
184 $this->runtime_vars[
$name] = $value;
235 abstract public function activate();
setRuntimeVars($runtime_vars)
getActivities()
Returns all currently set activities.
getDetectors()
Returns all currently set detectors.
getEmitters()
Returns all currently set emitters.
isActive()
Returns the activation status of the node.
onActivate()
Method called on activation of the node.
setRuntimeVar($name, $value)
onDeactivate()
Method calles on deactivation of the node.
addEmitter(ilEmitter $emitter)
Adds an emitter to the list of emitters.
addActivity(ilActivity $activity)
Adds an activity to the list of activities.
addDetector(ilDetector $detector)
Adds a detector to the list of detectors.
notifyDetectorSatisfaction(ilDetector $detector)
ilDetector Interface is part of the petri net based workflow engine.
getContext()
Returns a reference to the parent workflow object.
checkTransitionPreconditions()
ilActivity Interface is part of the petri net based workflow engine.
ilEmitter Interface is part of the petri net based workflow engine.