@EngineService(injectDefaultToWorkflow=true, isCoreEngine=true) public class SpriteInspectorEngine extends NodeEngine
This engine computes sprites for a set of images. It let the next engine do their job and get the result to analyze a potential aggregated image.
| Constructor and Description | 
|---|
SpriteInspectorEngine(Boolean inspect,
                     SpriteProvider[] sp)
 Builds a new aggregator engine. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
protected boolean | 
callNextEngine()
 Indicates if the next engine should be called by the base class or if this responsibility is delegated to the
 subclass. 
 | 
EngineType | 
getEngineType()
 Gets the type of engine. 
 | 
List<NutType> | 
getNutTypes()
 Gets the all  
types supported by this 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. 
 | 
chain, getNext, getPrevious, parse, setNext@ConfigConstructor public SpriteInspectorEngine(@BooleanConfigParam(defaultValue=true,propertyKey="c.g.wuic.engine.inspect") Boolean inspect, @ObjectConfigParam(defaultValue="css",propertyKey="c.g.wuic.engine.spriteProviderClassName",setter=SpriteProviderPropertySetter.class) SpriteProvider[] sp)
Builds a new aggregator engine.
inspect - if inspect or notsp - the provider which generates spritespublic List<ConvertibleNut> internalParse(EngineRequest request) throws WuicException
 Internal method that parses eventually called by NodeEngine.parse(EngineRequest) method during its invocation.
 
internalParse in class Enginerequest - the request with files to parseWuicException - if any kind of error occurspublic List<NutType> getNutTypes()
 Gets the all types supported by this engine.
 
getNutTypes in class NodeEngineNutTypepublic Boolean works()
Returns a flag indicating if the engine is configured to do something or not.
public EngineType getEngineType()
Gets the type of engine.
getEngineType in class Engineprotected boolean callNextEngine()
Indicates if the next engine should be called by the base class or if this responsibility is delegated to the subclass.
callNextEngine in class NodeEnginetrue if NodeEngine is responsible of calling next engine, false otherwiseCopyright © 2012-2015. All Rights Reserved.