java.lang.Object
info.ejava.examples.app.config.propertysource.profiles.AppCommand
All Implemented Interfaces:
org.springframework.boot.CommandLineRunner

@Component public class AppCommand extends Object implements org.springframework.boot.CommandLineRunner
  • Field Details

    • commonProperty

      @Value("${app.commonProperty:not supplied}") private String commonProperty
    • appProperty

      @Value("${app.appProperty:not supplied}") private String appProperty
    • defaultProperty

      @Value("${app.defaultProperty:not supplied}") private String defaultProperty
    • site1Property

      @Value("${app.site1Property:not supplied}") private String site1Property
    • site2Property

      @Value("${app.site2Property:not supplied}") private String site2Property
  • Constructor Details

    • AppCommand

      public AppCommand()
  • Method Details

    • run

      public void run(String... args) throws Exception
      Specified by:
      run in interface org.springframework.boot.CommandLineRunner
      Throws:
      Exception