Class UndoConfiguration
- java.lang.Object
-
- dev.fomenko.springundocore.config.UndoConfiguration
-
@Configuration @EnableConfigurationProperties(UndoProperties.class) public class UndoConfiguration extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description UndoConfiguration()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Undoundo(UndoService undoService)ActionIdGeneratorundoIdGenerator()ScheduledTasksundoScheduledTasks(UndoService undoService)UndoServiceundoService(ActionIdGenerator eventIdGenerator, UndoProperties undoProperties, TimeSupplier timeSupplier, EventRecorder eventRecorder, java.util.List<UndoEventListener<?>> eventListeners)TimeSupplierundoTimeSupplier()
-
-
-
Method Detail
-
undo
@Bean public Undo undo(UndoService undoService)
-
undoService
@Bean public UndoService undoService(ActionIdGenerator eventIdGenerator, UndoProperties undoProperties, TimeSupplier timeSupplier, EventRecorder eventRecorder, java.util.List<UndoEventListener<?>> eventListeners)
-
undoScheduledTasks
@Bean public ScheduledTasks undoScheduledTasks(UndoService undoService)
-
undoIdGenerator
@Bean @ConditionalOnMissingBean public ActionIdGenerator undoIdGenerator()
-
undoTimeSupplier
@Bean @ConditionalOnMissingBean public TimeSupplier undoTimeSupplier()
-
-