org.springframework.boot

Interface Banner

  • All Known Implementing Classes:
    ImageBanner, ResourceBanner


    public interface Banner
    Interface class for writing a banner programmatically.
    Since:
    1.2.0
    Author:
    Phillip Webb, Michael Stummvoll, Jeremy Rickard
    • Nested Class Summary

      Nested Classes 
      Modifier and Type Interface and Description
      static class  Banner.Mode
      An enumeration of possible values for configuring the Banner.
    • Method Detail

      • printBanner

        void printBanner(org.springframework.core.env.Environment environment,
                         Class<?> sourceClass,
                         PrintStream out)
        Print the banner to the specified print stream.
        Parameters:
        environment - the spring environment
        sourceClass - the source class for the application
        out - the output print stream

Copyright © 2018 Pivotal Software, Inc.. All rights reserved.