This tool suite is designed to be extensible, allowing consumers to specify custom implementations should the framework not provide enough flexibility. Users of this suite can extend the feature set through registering OSGi services implementing specific API interfaces.
Each tool has an interface which, when implemented and registered as a service, will automatically be included as potential rules for a conversion process. The video on the right demonstrates implementing one of these interfaces, for a custom service-based Component RewriteRule.
Page Structure rewrites are managed through two interface definitions:
The Structure Rewrite Rule is used to perform the conversions of a given page’s structure. The Page Rewrite Rule is a factory that implements this interface. If necessary, teams can extend this factory and override implementation methods to perform custom transformations.
The Component Rewrite Rule interface identifies service implementations to be used to match & transform Component instances. Column Control Rewrite Rule implements this interface, and is a good starting point for teams that may want an example for creating custom rules.
The Policy Import Rule interface identifies service implementations to be used to match, transform and import Policy definitions.