Class WorkflowProperties.SnapshotProperties

java.lang.Object
io.axoniq.framework.springboot.WorkflowProperties.SnapshotProperties
Enclosing class:
WorkflowProperties

public static class WorkflowProperties.SnapshotProperties extends Object
The snapshot properties of the workflow engine.

Snapshots are disabled by default. Enabling them requires a SnapshotStore bean.

  • 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

      public WorkflowProperties.SnapshotPolicyProperties getRunningWorkflows()
      The snapshot properties of the running-workflow list, under the axon.workflow.snapshots.running-workflows prefix.
      Returns:
      the snapshot properties of the running-workflow list
    • getWorkflowState

      The snapshot properties of the state of each workflow instance, under the axon.workflow.snapshots.workflow-state prefix.
      Returns:
      the snapshot properties of the state of each workflow instance