Skip to content

6.3.0

Compare
Choose a tag to compare
@jptrn jptrn released this 31 Jul 13:46
· 18 commits to master since this release

You may now define custom parameters for UrlFactories using the new UrlFactoryComponent.Parameter annotation. See FirstSpirit documentation for more info.

Example Usage:

@UrlFactoryComponent(
       name = "MyUrlFactory",
       parameters = {
             @UrlFactoryComponent.Parameter(name = "useIRIs", value = "yes"),
             @UrlFactoryComponent.Parameter(name = "useWelcomeFileNames", value = "yes")
       }
)
public class MyUrlFactory {
} 

Custom parameters are rendered into the module-isolated.xml when building the module.