Package com.adobe.aemds.guide.themes
Class ThemePostProcessor
- java.lang.Object
-
- com.adobe.aemds.guide.themes.ThemePostProcessor
-
- All Implemented Interfaces:
SlingPostProcessor
@Service(SlingPostProcessor.class) public class ThemePostProcessor extends java.lang.Object implements SlingPostProcessor
TheThemePostProcessor
generates CSS for the updated Theme JSON.
-
-
Constructor Summary
Constructors Constructor Description ThemePostProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
process(SlingHttpServletRequest request, java.util.List<Modification> changes)
Process the current request.
-
-
-
Method Detail
-
process
public void process(SlingHttpServletRequest request, java.util.List<Modification> changes) throws java.lang.Exception
Description copied from interface:SlingPostProcessor
Process the current request. The post processor can inspect the list of changes and perform additional changes. If the processor performs a change it should make the change and add aModification
object to the changes list.- Specified by:
process
in interfaceSlingPostProcessor
- Parameters:
request
- The current request.changes
- The list of changes for this request.- Throws:
java.lang.Exception
- If an error occurs.- See Also:
SlingPostProcessor.process(org.apache.sling.api.SlingHttpServletRequest, java.util.List)
-
-