New posts for Spring and Hibernate
This commit is contained in:
@@ -0,0 +1,14 @@
|
||||
# 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
|
||||
Reference in New Issue
Block a user