Class PortfolioRunner

java.lang.Object
com.bluebell.greenhouse.radicle.runners.AbstractRunner
com.bluebell.greenhouse.radicle.runners.PortfolioRunner
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.portfolio.data",havingValue="true",matchIfMissing=true) public class PortfolioRunner extends AbstractRunner implements org.springframework.boot.CommandLineRunner, org.springframework.core.Ordered
Generates testing Portfolios.
Version:
2.0.3
Author:
Stephen Prizio
  • Constructor Details

    • PortfolioRunner

      public PortfolioRunner()
  • Method Details

    • run

      @Transactional public void run(String... args)
      Generates testing data for Portfolios.
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
      Parameters:
      args - incoming main method arguments
    • getOrder

      public int getOrder()
      Returns the runner order.
      Specified by:
      getOrder in interface org.springframework.core.Ordered
      Returns:
      priority