Class RegistryImportRunner
java.lang.Object
com.bluebell.greenhouse.radicle.runners.AbstractRunner
com.bluebell.greenhouse.radicle.runners.RegistryImportRunner
- All Implemented Interfaces:
org.springframework.boot.CommandLineRunner, org.springframework.core.Ordered
@Component
@ConditionalOnExpression("!${bluebell.cmdlr.market.data:true}")
@ConditionalOnProperty(name="bluebell.init.regenerate-system",havingValue="true") @ConditionalOnProperty(name="bluebell.registry.import.enabled",havingValue="true")
public class RegistryImportRunner
extends AbstractRunner
implements org.springframework.boot.CommandLineRunner, org.springframework.core.Ordered
Executes registry imports during application startup when explicitly enabled.
- Version:
- 2.0.3
- 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
-
RegistryImportRunner
public RegistryImportRunner()
-
-
Method Details
-
run
Executes enabled registry imports.- Specified by:
runin interfaceorg.springframework.boot.CommandLineRunner- Parameters:
args- application arguments
-
getOrder
public int getOrder()Returns the runner order.- Specified by:
getOrderin interfaceorg.springframework.core.Ordered- Returns:
- priority
-