public final class WicketWebjars
extends java.lang.Object
| Modifier and Type | Method and Description |
|---|---|
static void |
install(org.apache.wicket.protocol.http.WebApplication app)
installs the webjars resource finder and uses a set of default settings.
|
static void |
install(org.apache.wicket.protocol.http.WebApplication app,
IWebjarsSettings settings)
installs the webjars resource finder
|
static boolean |
isInstalled(org.apache.wicket.Application application)
Checks whether Webjars support is already installed
|
static void |
reindex(org.apache.wicket.protocol.http.WebApplication application) |
static IWebjarsSettings |
settings()
returns the
IWebjarsSettings which are assigned to current application |
static IWebjarsSettings |
settings(org.apache.wicket.Application app)
returns the
IWebjarsSettings which are assigned to given application |
public static boolean isInstalled(org.apache.wicket.Application application)
application - the wicket applicationtrue if Webjars is already installed, otherwise falsepublic static void install(org.apache.wicket.protocol.http.WebApplication app)
app - the wicket applicationpublic static void install(org.apache.wicket.protocol.http.WebApplication app,
IWebjarsSettings settings)
app - the wicket applicationsettings - the settings to usepublic static void reindex(org.apache.wicket.protocol.http.WebApplication application)
public static IWebjarsSettings settings(org.apache.wicket.Application app)
IWebjarsSettings which are assigned to given applicationapp - The current applicationIWebjarsSettingspublic static IWebjarsSettings settings()
IWebjarsSettings which are assigned to current applicationIWebjarsSettingsCopyright © 2019 agilecoders.de. All Rights Reserved.