Files
spring-boot-demo/startup-runners/output/04-arguments.txt
T

15 lines
851 B
Plaintext

# The same command line, seen by CommandLineRunner and ApplicationRunner
args passed to SpringApplication.run: [--name=Ankur, --verbose, --name=Second, data.csv, -x, --, --after-the-dashes]
CommandLineRunner String[] args = [--name=Ankur, --verbose, --name=Second, data.csv, -x, --, --after-the-dashes]
ApplicationRunner getSourceArgs() = [--name=Ankur, --verbose, --name=Second, data.csv, -x, --, --after-the-dashes]
ApplicationRunner getOptionNames() = [name, verbose]
ApplicationRunner getOptionValues(name) = [Ankur, Second]
ApplicationRunner getOptionValues(verbose) = []
ApplicationRunner getOptionValues(missing) = null
ApplicationRunner containsOption(verbose) = true
ApplicationRunner getNonOptionArgs() = [data.csv, -x, --after-the-dashes]
Environment property 'name' (both values, joined by a comma): Ankur,Second