Class MinimalDataGenerator
- java.lang.Object
-
- org.flowable.ui.admin.domain.generator.MinimalDataGenerator
-
- All Implemented Interfaces:
EventListener,org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
public class MinimalDataGenerator extends Object implements org.springframework.context.ApplicationListener<org.springframework.context.event.ContextRefreshedEvent>
Generates the minimal data needed when the application is booted with no data at all.- Author:
- jbarrez
-
-
Field Summary
Fields Modifier and Type Field Description protected ServerConfigServiceserverConfigService
-
Constructor Summary
Constructors Constructor Description MinimalDataGenerator(ServerConfigService serverConfigService)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidonApplicationEvent(org.springframework.context.event.ContextRefreshedEvent event)
-
-
-
Field Detail
-
serverConfigService
protected final ServerConfigService serverConfigService
-
-
Constructor Detail
-
MinimalDataGenerator
public MinimalDataGenerator(ServerConfigService serverConfigService)
-
-