5require_once
'./Services/WorkflowEngine/interfaces/ilNode.php';
7require_once
'./Services/WorkflowEngine/interfaces/ilEmitter.php';
9require_once
'./Services/WorkflowEngine/interfaces/ilDetector.php';
11require_once
'./Services/WorkflowEngine/interfaces/ilActivity.php';
13require_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;
An exception for terminatinating execution or to throw for unit testing.
@noinspection PhpIncludeInspection
getEmitters()
Returns all currently set emitters.
addActivity(ilActivity $activity)
Adds an activity to the list of activities.
onDeactivate()
Method calles on deactivation of the node.
isActive()
Returns the activation status of the node.
getContext()
Returns a reference to the parent workflow object.
setRuntimeVar($name, $value)
addDetector(ilDetector $detector)
Adds a detector to the list of detectors.
addEmitter(ilEmitter $emitter)
Adds an emitter to the list of emitters.
getDetectors()
Returns all currently set detectors.
notifyDetectorSatisfaction(ilDetector $detector)
checkTransitionPreconditions()
setRuntimeVars($runtime_vars)
onActivate()
Method called on activation of the node.
getActivities()
Returns all currently set activities.
ilActivity Interface is part of the petri net based workflow engine.
ilDetector Interface is part of the petri net based workflow engine.
ilEmitter Interface is part of the petri net based workflow engine.
@noinspection PhpIncludeInspection