public interface WroConfigurationMBean
| Modifier and Type | Method and Description |
|---|---|
long |
getCacheUpdatePeriod() |
int |
getConnectionTimeout() |
String |
getEncoding() |
long |
getModelUpdatePeriod() |
long |
getResourceWatcherUpdatePeriod() |
boolean |
isCacheGzippedContent() |
boolean |
isDebug() |
boolean |
isGzipEnabled() |
boolean |
isIgnoreEmptyGroup() |
boolean |
isIgnoreMissingResources() |
boolean |
isMinimizeEnabled() |
void |
reloadCache()
Force reload of the cache.
|
void |
reloadModel()
Force reload of the model.
|
void |
setCacheGzippedContent(boolean cache)
Whether gzipped content should be cached or not.
|
void |
setCacheUpdatePeriod(long period)
Set after how many seconds the cache containing merged resources by group name should be updated.
|
void |
setConnectionTimeout(int seconds)
After how many seconds the connection to servlet context and external url will be timed-out.
|
void |
setDebug(boolean debug)
Set the debug mode.
|
void |
setEncoding(String encoding)
Encoding to use when writing the processed result into the output stream.
|
void |
setGzipEnabled(boolean enable) |
void |
setIgnoreEmptyGroup(boolean ignore) |
void |
setIgnoreMissingResources(boolean ignore) |
void |
setMinimizeEnabled(boolean minifyResources) |
void |
setModelUpdatePeriod(long period)
Set after how many seconds the wro model should be updated.
|
void |
setResourceWatcherUpdatePeriod(long period)
Set after how many seconds the resource change detection is performed..
|
long getModelUpdatePeriod()
void setModelUpdatePeriod(long period)
period - number of seconds. Zero or less, means never.long getCacheUpdatePeriod()
void setCacheUpdatePeriod(long period)
period - number of seconds. Zero or less, means never.long getResourceWatcherUpdatePeriod()
void setResourceWatcherUpdatePeriod(long period)
period - number of seconds. Zero or less, means never.boolean isGzipEnabled()
void setGzipEnabled(boolean enable)
enable - if true, gzip will be enabled, otherwise will be disabled.boolean isDebug()
void setDebug(boolean debug)
debug - if true, the wro4j will run in DEVELOPMENT MODE.void reloadCache()
void reloadModel()
void setConnectionTimeout(int seconds)
seconds - value in seconds.int getConnectionTimeout()
void setCacheGzippedContent(boolean cache)
cache - boolean flag.boolean isCacheGzippedContent()
void setEncoding(String encoding)
encoding - name of the charset encoding to set.String getEncoding()
boolean isIgnoreMissingResources()
void setIgnoreMissingResources(boolean ignore)
void setIgnoreEmptyGroup(boolean ignore)
ignore - turns on/off failure on empty group (when there is nothing to process).boolean isIgnoreEmptyGroup()
void setMinimizeEnabled(boolean minifyResources)
minifyResources - set to false to override minification settings on all resourcesboolean isMinimizeEnabled()
Copyright © 2008-2014. All Rights Reserved.