Interface LaunchpadAppUrlCustomizer

  • Functional Interface:
    This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

    @FunctionalInterface
    public interface LaunchpadAppUrlCustomizer
    Callback interface that can be implemented to customize the URL of an LaunchpadConfigProperties.App.

    Example Configuration:

    
     launchpad.apps[0].url=https://{tenantId}.example.org
     launchpad.apps[0].name.de=Anwendung
     launchpad.apps[0].name.en=App
     

    Example Customizer:

    
     LaunchpadAppUrlCustomizer launchpadAppUrlCustomizer() {
         return url -> new URL(url.replace("{tenantId}", "awesome-tenant-id"));
     }