de.agilecoders.wicket.webjars.settings
Interface IWebjarsSettings
- All Known Implementing Classes:
- WebjarsSettings, WebSphereWebjarsSettings
public interface IWebjarsSettings
Settings interface for all webjars depended settings
- Author:
- miha
resourceStreamProvider
ResourceStreamProvider resourceStreamProvider()
- Returns:
ResourceStreamProvider to use to load resources
assetPathCollectors
AssetPathCollector[] assetPathCollectors()
- Returns:
- a set of
AssetPathCollector instances to use to find
resources
webjarsPackage
String webjarsPackage()
- Returns:
- the webjars package path (e.g. "META-INF.resources.webjars")
webjarsPath
String webjarsPath()
- Returns:
- the path where all webjars are stored (e.g. "META-INF/resources/webjars")
classLoaders
ClassLoader[] classLoaders()
- Returns:
- classloaders to use
resourcePattern
Pattern resourcePattern()
- Returns:
- the pattern to filter accepted webjars resources
webjarsPathPattern
Pattern webjarsPathPattern()
- Returns:
- the full path pattern. The pattern must contain 3 groups: prefix, version, filename
recentVersionPlaceHolder
String recentVersionPlaceHolder()
- Returns:
- placeholder for recent version (e.g. current)
readFromCacheTimeout
org.apache.wicket.util.time.Duration readFromCacheTimeout()
- Returns:
- timeout which is used when reading from cache (Future.get(timeout))
useCdnResources
boolean useCdnResources()
- Returns:
- true, if the resources for the webjars should be loaded from a CDN network
cdnUrl
String cdnUrl()
- Returns:
- base URL of the webjars CDN
Copyright © 2016 agilecoders.de. All Rights Reserved.