Package de.focus_shift.launchpad.api
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=AppExample Customizer:
LaunchpadAppUrlCustomizer launchpadAppUrlCustomizer() { return url -> new URL(url.replace("{tenantId}", "awesome-tenant-id")); }
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description URLcustomize(String url)
-
-
-
Method Detail
-
customize
URL customize(String url) throws MalformedURLException
- Throws:
MalformedURLException
-
-