U-A/U-B: Prozesskern mit Fachmodulen, versionierten Modellen, eingefrorenem Prozessplan, ProcessRunner (harte/weiche Abhängigkeiten), CasePricing, Loyalty nur im Tester
CaseActivities/CaseAutomation sind Fassaden über ProcessRunner. Verhaltensvergleich v0.11: 11 Abläufe und 198 Konstellationen gleich, beabsichtigte Abweichungen I-004/I-005 (F-001/F-002). Volle Suite vor U-B: 785/785. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
98df5e9e3b
commit
7e22e12cac
80 files changed
+4628
-445
No files matched your search
@@ -0,0 +1,29 @@
|
||||
<?php
|
||||
|
||||
namespace App\Process\Modules;
|
||||
|
||||
/**
|
||||
* A dependency of one step on another (requirement T1, docs/Prozessarchitektur/Architektur/02 §7.1).
|
||||
*
|
||||
* - **hard:** the step may only run when the other step is done. Nothing switches this off – there is no flag on the
|
||||
* other step that could lift it.
|
||||
* - **soft:** the step should run after the other one when both are due in the same round; when the other one waits,
|
||||
* fails or does not apply, the step goes on as long as its own requirements are met.
|
||||
*
|
||||
* Independent steps simply declare no dependency on each other; conditional steps express their condition in
|
||||
* {@see ProcessModule::applies()}.
|
||||
*/
|
||||
final readonly class Dependency
|
||||
{
|
||||
private function __construct(public string $module, public bool $hard) {}
|
||||
|
||||
public static function hard(string $module): self
|
||||
{
|
||||
return new self($module, true);
|
||||
}
|
||||
|
||||
public static function soft(string $module): self
|
||||
{
|
||||
return new self($module, false);
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user