public abstract class AbstractAggregatorEngine extends NodeEngine
This engine
is an abstraction for aggregation nut aggregation.
Constructor and Description |
---|
AbstractAggregatorEngine(Boolean aggregate)
Builds the engine.
|
Modifier and Type | Method and Description |
---|---|
static String |
aggregationName(NutType nutType)
Computes the name of an aggregated set of nuts for a given type.
|
protected abstract List<ConvertibleNut> |
aggregationParse(EngineRequest request)
Do aggregation parsing.
|
EngineType |
getEngineType()
Gets the type of engine.
|
List<ConvertibleNut> |
internalParse(EngineRequest request)
Internal method that parses eventually called by
NodeEngine.parse(EngineRequest) method during its invocation. |
Boolean |
works()
Returns a flag indicating if the engine is configured to do something or not.
|
callNextEngine, chain, getNext, getNutTypes, getPrevious, parse, setNext
public AbstractAggregatorEngine(Boolean aggregate)
Builds the engine.
aggregate
- activate aggregation or notpublic static String aggregationName(NutType nutType)
Computes the name of an aggregated set of nuts for a given type.
nutType
- the typepublic final List<ConvertibleNut> internalParse(EngineRequest request) throws WuicException
Internal method that parses eventually called by NodeEngine.parse(EngineRequest)
method during its invocation.
internalParse
in class Engine
request
- the request with files to parseWuicException
- if any kind of error occursprotected abstract List<ConvertibleNut> aggregationParse(EngineRequest request) throws WuicException
Do aggregation parsing.
request
- the requestWuicException
- if an error occurspublic Boolean works()
Returns a flag indicating if the engine is configured to do something or not.
public final EngineType getEngineType()
Gets the type of engine.
getEngineType
in class Engine
Copyright © 2012-2015. All Rights Reserved.