Package org.springframework.boot
Interface Banner
- All Known Implementing Classes:
ResourceBanner
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
Interface class for writing a banner programmatically.
- Since:
- 1.2.0
- Author:
- Phillip Webb, Michael Stummvoll, Jeremy Rickard
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic enumAn enumeration of possible values for configuring the Banner. -
Method Summary
Modifier and TypeMethodDescriptionvoidprintBanner(Environment environment, Class<?> sourceClass, PrintStream out) Print the banner to the specified print stream.
-
Method Details
-
printBanner
Print the banner to the specified print stream.- Parameters:
environment- the spring environmentsourceClass- the source class for the applicationout- the output print stream
-