Class SilencerCurseConfiguration

  • All Implemented Interfaces:

    @Configuration(proxyBeanMethods = false)@ConditionalWingsEnabled() 
    public class SilencerCurseConfiguration
    
                        
    Since:

    2019-06-26

    Author:

    trydofor

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
    • Field Summary

      Fields 
      Modifier and Type Field Description
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      ApplicationInspectRunner auditPropRunner() audit the file and cascading relationship of properties key/value
      ApplicationReadyEventRunner muteConsoleRunner(SilencerAutoLogProp autoLog) Configuration is complete and the log is switched before the service starts
      RuntimeMode runtimeMode(SilencerRuntimeProp prop)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • SilencerCurseConfiguration

        SilencerCurseConfiguration()
    • Method Detail

      • auditPropRunner

        @Bean()@ConditionalWingsEnabled(abs = SilencerEnabledProp.Key$auditProp, value = false) ApplicationInspectRunner auditPropRunner()

        audit the file and cascading relationship of properties key/value

      • muteConsoleRunner

        @Bean()@ConditionalWingsEnabled(abs = SilencerEnabledProp.Key$muteConsole)@ConditionalOnClass(value = ConsoleAppender.class) ApplicationReadyEventRunner muteConsoleRunner(SilencerAutoLogProp autoLog)

        Configuration is complete and the log is switched before the service starts