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 SummaryModifier 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- 
withReturn 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
 
- 
withAdditionalProfilesReturn 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
 
- 
runRun the application using the given args.- Parameters:
- args- the main method args
- Returns:
- the running ApplicationContext
 
 
-