Package org.springframework.boot
Class SpringApplication.Augmented
java.lang.Object
org.springframework.boot.SpringApplication.Augmented
- Enclosing class:
 - SpringApplication
 
Used to configure and run an augmented 
SpringApplication where additional
 configuration should be applied.- Since:
 - 3.1.0
 
- 
Method Summary
Modifier and TypeMethodDescriptionRun the application using the given args.Return a newSpringApplication.Augmentedinstance with additional sources that should be applied when the application runs.withAdditionalProfiles(String... profiles) Return a newSpringApplication.Augmentedinstance with additional profiles that should be applied when the application runs. 
- 
Method Details
- 
with
Return a newSpringApplication.Augmentedinstance with additional sources that should be applied when the application runs.- Parameters:
 sources- the sources that should be applied- Returns:
 - a new 
SpringApplication.Augmentedinstance 
 - 
withAdditionalProfiles
Return a newSpringApplication.Augmentedinstance with additional profiles that should be applied when the application runs.- Parameters:
 profiles- the profiles that should be applied- Returns:
 - a new 
SpringApplication.Augmentedinstance - Since:
 - 3.4.0
 
 - 
run
Run the application using the given args.- Parameters:
 args- the main method args- Returns:
 - the running 
ApplicationContext 
 
 -