Package com.salesforce.omakase.plugin
Interface PostProcessingPlugin
-
- All Superinterfaces:
Plugin
public interface PostProcessingPlugin extends Plugin
APlugin
that wishes to be notified when all processing (rework and validation) is completed.Please be aware that as this is post processing, any changes or modifications made to AST objects will not be automatically provided to plugin subscription methods. Post processing is generally best for read-only operations.
If you are looking to make modifications after the last rule has been parsed, consider creating a subscription method to
Stylesheet
, which should be the very last syntax unit to be broadcasted (except any broadcasts resulted from changes you make, which means multiple plugins doing this may not work well together).
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description void
postProcess(PluginRegistry registry)
This method will be called after all processing has completed (rework and validation).
-
-
-
Method Detail
-
postProcess
void postProcess(PluginRegistry registry)
This method will be called after all processing has completed (rework and validation).This could be used when the
Plugin
must defer its processing until it is certain that allSelector
s andDeclaration
s within the source are processed.- Parameters:
registry
- ThePluginRegistry
.
-
-