Class UserRunner
java.lang.Object
com.bluebell.greenhouse.radicle.runners.AbstractRunner
com.bluebell.greenhouse.radicle.runners.UserRunner
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner, org.springframework.core.Ordered
@Component
@Profile("dev")
@ConditionalOnProperty(name="bluebell.init.regenerate-system",havingValue="true") @ConditionalOnProperty(name="bluebell.cmdlr.user.data",havingValue="true",matchIfMissing=true)
public class UserRunner
extends AbstractRunner
implements org.springframework.boot.CommandLineRunner, org.springframework.core.Ordered
First data runner in the order, creates
Users.- Version:
- 3.0.4
- Author:
- Stephen Prizio
-
Field Summary
Fields inherited from interface org.springframework.core.Ordered
HIGHEST_PRECEDENCE, LOWEST_PRECEDENCE -
Constructor Summary
Constructors -
Method Summary
Methods inherited from class AbstractRunner
logEnd, logStart
-
Constructor Details
-
UserRunner
public UserRunner()
-
-
Method Details
-
run
-
getOrder
public int getOrder()Returns the runner order.- Specified by:
getOrderin interfaceorg.springframework.core.Ordered- Returns:
- priority
-