5require_once
'./Services/WorkflowEngine/interfaces/ilDetector.php';
7require_once
'./Services/WorkflowEngine/interfaces/ilWorkflowEngineElement.php';
76 if ($this->detection_state ==
false) {
107 $this->detection_state = $new_state;
109 if ($new_state ==
true) {
110 $this->context->notifyDetectorSatisfaction($this);
An exception for terminatinating execution or to throw for unit testing.
@noinspection PhpIncludeInspection
__construct(ilNode $context)
Default constructor.
getDetectorState()
Returns if the current detector state is satisfied or not.
getContext()
Returns the parent object.
setSourceNode($source_node)
onDeactivate()
Method is called, when the parent node is deactivated.
setDetectorState($new_state)
Sets a new detector state.
trigger($params)
Trigger this detector.
onActivate()
Method is called, when the parent node is activated.
ilDetector Interface is part of the petri net based workflow engine.
@noinspection PhpIncludeInspection
ilWorkflowEngineElement Interface is part of the petri net based workflow engine.