Class ResourceBanner
java.lang.Object
org.springframework.boot.ResourceBanner
- All Implemented Interfaces:
- Banner
- 
Nested Class SummaryNested classes/interfaces inherited from interface BannerBanner.Mode
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprotected @Nullable StringgetApplicationTitle(@Nullable Class<?> sourceClass) Return the application title that should be used for the source class.protected @Nullable Stringprotected List<PropertyResolver> getPropertyResolvers(Environment environment, @Nullable Class<?> sourceClass) Return a mutable list of thePropertyResolverinstances that will be used to resolve placeholders.voidprintBanner(Environment environment, @Nullable Class<?> sourceClass, PrintStream out) Print the banner to the specified print stream.
- 
Constructor Details- 
ResourceBanner
 
- 
- 
Method Details- 
printBannerDescription copied from interface:BannerPrint the banner to the specified print stream.- Specified by:
- printBannerin interface- Banner
- Parameters:
- environment- the spring environment
- sourceClass- the source class for the application or- null
- out- the output print stream
 
- 
getPropertyResolversprotected List<PropertyResolver> getPropertyResolvers(Environment environment, @Nullable Class<?> sourceClass) Return a mutable list of thePropertyResolverinstances that will be used to resolve placeholders.- Parameters:
- environment- the environment
- sourceClass- the source class
- Returns:
- a mutable list of property resolvers
 
- 
getApplicationTitleReturn the application title that should be used for the source class. By default will usePackage.getImplementationTitle().- Parameters:
- sourceClass- the source class
- Returns:
- the application title
 
- 
getBootVersion
 
-