@EngineService(injectDefaultToWorkflow=true, isCoreEngine=true) public class TextAggregatorEngine extends AbstractAggregatorEngine
This engine
can aggregate all the specified files in one path.
Files are aggregated in the order of apparition in the given list. Note that
nothing will be done if AbstractAggregatorEngine.doAggregation
flag is false
.
Constructor and Description |
---|
TextAggregatorEngine(Boolean aggregate,
Boolean asynchronous)
Builds the engine.
|
Modifier and Type | Method and Description |
---|---|
List<ConvertibleNut> |
aggregationParse(EngineRequest request)
Do aggregation parsing.
|
List<NutType> |
getNutTypes()
Gets the all
types supported by this engine. |
aggregationName, getEngineType, internalParse, works
callNextEngine, chain, getNext, getPrevious, parse, setNext
@ConfigConstructor public TextAggregatorEngine(@BooleanConfigParam(defaultValue=true,propertyKey="c.g.wuic.engine.aggregate") Boolean aggregate, @BooleanConfigParam(defaultValue=true,propertyKey="c.g.wuic.computeVersionAsynchronously") Boolean asynchronous)
Builds the engine.
asynchronous
- activates asynchronous version number computationaggregate
- activate aggregation or notpublic List<ConvertibleNut> aggregationParse(EngineRequest request) throws WuicException
Do aggregation parsing.
aggregationParse
in class AbstractAggregatorEngine
request
- the requestWuicException
- if an error occurspublic List<NutType> getNutTypes()
Gets the all types
supported by this engine.
getNutTypes
in class NodeEngine
NutType
Copyright © 2012-2015. All Rights Reserved.