Synchronizer module allows you to plug additional synchronizers into Structure.
Module description sample
Here's a template of a synchronizer module declaration, and explanation of the parameters follows.
<structure-synchronizer key="module-key" order="100"
class="com.company.your.plugin.sync.SyncClass">
<label key="label.i18n.key">Name of Synchronizer</label>
<description key="description.i18n.key">Description of Synchronizer</description>
<rules key="rules.i18n.key">Large text to be shown at the top of synchronizer's configuration page.</rules>
<resource type="velocity" name="form" location="/templates/myplugin/sync-form.vm"/>
</structure-synchronizer>
|
Element |
Required |
Description |
|---|---|---|
|
|
Yes |
The module descriptor. |
|
|
Yes |
Unique module key within the plugin. |
|
|
Yes |
Order of the synchronizer among other synchronizers, whenever a list of synchronizers is present. |
|
|
Yes |
The class that implements the synchronizer. Must implement StructureSynchronizer . It is recommended to extend AbstractSynchronizer . |
|
|
Yes |
The name of the synchronizer. |
|
|
No |
Description of the synchronizer. |
|
|
No |
The text that is shown at the top of the synchronizer configuration page. Could be a large text. |
|
|
Yes |
A velocity template that contains the form for the synchronizer parameters. |