Class InMemoryExecutionStateRepository
java.lang.Object
fr.enedis.chutney.execution.infra.storage.InMemoryExecutionStateRepository
- All Implemented Interfaces:
fr.enedis.chutney.server.core.domain.execution.state.ExecutionStateRepository
@Repository
public class InMemoryExecutionStateRepository
extends Object
implements fr.enedis.chutney.server.core.domain.execution.state.ExecutionStateRepository
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidnotifyExecutionEnd(String scenarioId) voidnotifyExecutionStart(String scenarioId) Set<fr.enedis.chutney.server.core.domain.execution.state.RunningScenarioState> Optional<fr.enedis.chutney.server.core.domain.execution.state.RunningScenarioState> runningState(String scenarioId)
-
Constructor Details
-
InMemoryExecutionStateRepository
public InMemoryExecutionStateRepository()
-
-
Method Details
-
runningScenarios
public Set<fr.enedis.chutney.server.core.domain.execution.state.RunningScenarioState> runningScenarios()- Specified by:
runningScenariosin interfacefr.enedis.chutney.server.core.domain.execution.state.ExecutionStateRepository
-
notifyExecutionStart
- Specified by:
notifyExecutionStartin interfacefr.enedis.chutney.server.core.domain.execution.state.ExecutionStateRepository
-
notifyExecutionEnd
- Specified by:
notifyExecutionEndin interfacefr.enedis.chutney.server.core.domain.execution.state.ExecutionStateRepository
-
runningState
public Optional<fr.enedis.chutney.server.core.domain.execution.state.RunningScenarioState> runningState(String scenarioId) - Specified by:
runningStatein interfacefr.enedis.chutney.server.core.domain.execution.state.ExecutionStateRepository
-