Class: Synapse::Configuration::AggregateSnapshotTakerDefinitionBuilder
- Inherits:
-
DefinitionBuilder
- Object
- DefinitionBuilder
- Synapse::Configuration::AggregateSnapshotTakerDefinitionBuilder
- Defined in:
- lib/synapse/configuration/component/event_sourcing/aggregate_snapshot_taker.rb
Overview
Definition builder used to create aggregate snapshot takers
Instance Attribute Summary
Attributes inherited from DefinitionBuilder
Instance Method Summary collapse
- #use_aggregate_factory_tag(aggregate_factory_tag) ⇒ undefined
- #use_event_store(event_store) ⇒ undefined
Methods inherited from DefinitionBuilder
#anonymous, #as_prototype, #as_singleton, build, #build_composite, #build_definition, #identified_by, #initialize, #register_definition, #tag, #use_factory, #use_instance
Constructor Details
This class inherits a constructor from Synapse::Configuration::DefinitionBuilder
Instance Method Details
#use_aggregate_factory_tag(aggregate_factory_tag) ⇒ undefined
16 17 18 |
# File 'lib/synapse/configuration/component/event_sourcing/aggregate_snapshot_taker.rb', line 16 def use_aggregate_factory_tag(aggregate_factory_tag) @aggregate_factory_tag = aggregate_factory_tag end |
#use_event_store(event_store) ⇒ undefined
22 23 24 |
# File 'lib/synapse/configuration/component/event_sourcing/aggregate_snapshot_taker.rb', line 22 def use_event_store(event_store) @event_store = event_store end |