Package io.axoniq.framework.springboot
Class WorkflowProperties.SnapshotProperties
java.lang.Object
io.axoniq.framework.springboot.WorkflowProperties.SnapshotProperties
- Enclosing class:
WorkflowProperties
The snapshot properties of the workflow engine.
Snapshots are disabled by default. Enabling them requires a SnapshotStore bean.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionThe snapshot properties of the running-workflow list, under theaxon.workflow.snapshots.running-workflowsprefix.The snapshot properties of the state of each workflow instance, under theaxon.workflow.snapshots.workflow-stateprefix.booleanReturns whether snapshots are taken.voidsetEnabled(boolean enabled) Sets whether snapshots are taken.
-
Constructor Details
-
SnapshotProperties
public SnapshotProperties()
-
-
Method Details
-
isEnabled
public boolean isEnabled()Returns whether snapshots are taken.- Returns:
- whether snapshots are taken
-
setEnabled
public void setEnabled(boolean enabled) Sets whether snapshots are taken.- Parameters:
enabled- whether snapshots are taken
-
getRunningWorkflows
The snapshot properties of the running-workflow list, under theaxon.workflow.snapshots.running-workflowsprefix.- Returns:
- the snapshot properties of the running-workflow list
-
getWorkflowState
The snapshot properties of the state of each workflow instance, under theaxon.workflow.snapshots.workflow-stateprefix.- Returns:
- the snapshot properties of the state of each workflow instance
-