Package io.spring.task

# Class SampleCommandLineRunner

java.lang.Object
io.spring.task.SampleCommandLineRunner

All Implemented Interfaces:
  `org.springframework.boot.CommandLineRunner`

@Component public class SampleCommandLineRunner extends Object implements org.springframework.boot.CommandLineRunner

Author:
  Michael Minella

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `SampleCommandLineRunner(List<DataSource> dataSources)`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `void`
  `run(String... args)`

  ### Methods inherited from class java.lang.Object

  `clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

- ## Constructor Details

  - ### SampleCommandLineRunner

    @Autowired public SampleCommandLineRunner(List<DataSource> dataSources)

- ## Method Details

  - ### run

    public void run(String... args) throws Exception
    Specified by:
      `run` in interface `org.springframework.boot.CommandLineRunner`
    Throws:
      `Exception`