public final class CommonsFeatures extends Features
| Constructor and Description |
|---|
CommonsFeatures()
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
buildFeatures() |
CommonsFeatures |
withCache(Class<? extends CachePlugin> cachePluginClass,
Param... params)
Activates caches.
|
CommonsFeatures |
withScript()
Activates script with a default plugin.
|
CommonsFeatures |
withScript(Class<? extends ExpressionEvaluatorPlugin> expressionEvaluatorPluginClass,
Param... params)
Activates script with a defined plugin.
|
build, getModuleConfigBuilderpublic CommonsFeatures withScript()
public CommonsFeatures withScript(Class<? extends ExpressionEvaluatorPlugin> expressionEvaluatorPluginClass, Param... params)
expressionEvaluatorPluginClass - the type of plugin to useparams - the paramspublic CommonsFeatures withCache(Class<? extends CachePlugin> cachePluginClass, Param... params)
cachePluginClass - the cache plugin to useparams - the paramsprotected void buildFeatures()
buildFeatures in class FeaturesCopyright © 2017. All Rights Reserved.