removed SDF_01 & SDF_08

This commit is contained in:
ialbert 2025-07-04 15:35:27 +03:00
parent 33785cfac0
commit 34cfaa74c8
3 changed files with 3 additions and 3 deletions

View file

@ -249,7 +249,7 @@ public class IntermediateMkrSessionStateMachineConfig
.guard(new SdfSetGuard(sdfs)) .guard(new SdfSetGuard(sdfs))
.action(againRevise); .action(againRevise);
for (var event : EnumSet.of(SsnEvent.SDF_01, SsnEvent.SDF_57, SsnEvent.SDF_04)) { for (var event : sdfs) {
transitions transitions
.withInternal() .withInternal()
.source(TaskType.PSEUDO_waitSdfAfterPaymentInstructions) .source(TaskType.PSEUDO_waitSdfAfterPaymentInstructions)

View file

@ -164,7 +164,7 @@ public class ReturnDepositSessionStateMachineConfig
.target(TaskType.FinishingSession) .target(TaskType.FinishingSession)
.guard(new SdfSetGuard(sdfs)) .guard(new SdfSetGuard(sdfs))
.action(finishingSessionAction); .action(finishingSessionAction);
for (var event: EnumSet.of(SsnEvent.SDF_01, SsnEvent.SDF_57, SsnEvent.SDF_04)) { for (var event: sdfs) {
transitions transitions
.withInternal() .withInternal()
.source(TaskType.PSEUDO_waitSdfAfterPaymentInstructions) .source(TaskType.PSEUDO_waitSdfAfterPaymentInstructions)

View file

@ -40,7 +40,7 @@ public class SdfUnitSetGuard implements Guard<TaskType, SsnEvent> {
.stream() .stream()
.allMatch(was::apply); .allMatch(was::apply);
} else { } else {
everySdfConditionMet = Stream.of(SsnEvent.SDF_04, SsnEvent.SDF_01, SsnEvent.SDF_57) everySdfConditionMet = Stream.of(SsnEvent.SDF_04, SsnEvent.SDF_57)
.allMatch(was::apply); .allMatch(was::apply);
} }
if (everySdfConditionMet) { if (everySdfConditionMet) {