Interface ConfigModifier<C extends io.dropwizard.core.Configuration>

    • Method Detail

      • modify

        void modify​(C config)
             throws java.lang.Exception
        Called before application run phase. Only logger configuration is applied at this moment (and so you can't change it). Modifier would work with both yaml and instance-based configurations.
        Parameters:
        config - configuration instance
        Throws:
        java.lang.Exception - on error (to avoid try-catch blocks in modifier itself)