Difference between revisions of "Custom Tasks"
(Created page with "=Custom Tasks= The config_custom_tasks.xml configuration file contains the specific stages where a plugin can be called. Dynamic information is available to the plugin through...") |
|||
| Line 1: | Line 1: | ||
=Custom Tasks= |
=Custom Tasks= |
||
The config_custom_tasks.xml configuration file contains the specific stages where a plugin can be called. Dynamic information is available to the plugin through the LRM Context object (<code>com.lingoport.lrm.customtask.LRMContext</code>). The lrm-customtasktest.jar, located in the <code>samples/CustomTask/</code> folder of your install directory, contains methods for testing out these different stages. |
The config_custom_tasks.xml configuration file contains the specific stages where a plugin can be called. Dynamic information is available to the plugin through the LRM Context object (<code>com.lingoport.lrm.customtask.LRMContext</code>). The lrm-customtasktest.jar, located in the <code>samples/CustomTask/</code> folder of your install directory, contains methods for testing out these different stages. |
||
| + | |||
| + | == Configuration == |
||
| + | <pre> |
||
| + | custom-tasks> |
||
| + | <stages> |
||
| + | <prep-kit> |
||
| + | <before-send-locale> |
||
| + | <!-- Tasks that will run BEFORE files are uploaded to the specified L10n Vendor --> |
||
| + | </before-send-locale> |
||
| + | <after-send-locale> |
||
| + | <!-- Tasks that will run AFTER files have been successfully uploaded to the specified L10n Vendor --> |
||
| + | </after-send-locale> |
||
| + | </prep-kit> |
||
| + | <notification> |
||
| + | <before-notify-changes> |
||
| + | <!-- Tasks that will run before the Notify Changes email is sent --> |
||
| + | </before-notify-changes> |
||
| + | <before-late-prep-kits> |
||
| + | <!-- Tasks that will run before the Late Prep Kit email is sent --> |
||
| + | </before-late-prep-kits> |
||
| + | </notification> |
||
| + | <import-kit> |
||
| + | <before-import-locale> |
||
| + | <!-- Tasks that will run before files for a specific locale are imported --> |
||
| + | </before-import-locale> |
||
| + | <after-import-locale> |
||
| + | <!-- Tasks that will run after files for a specific locale have been imported successfully --> |
||
| + | </after-import-locale> |
||
| + | </import-kit> |
||
| + | </stages> |
||
| + | </custom-tasks> |
||
| + | </pre> |
||
Revision as of 22:51, 27 April 2016
Custom Tasks
The config_custom_tasks.xml configuration file contains the specific stages where a plugin can be called. Dynamic information is available to the plugin through the LRM Context object (com.lingoport.lrm.customtask.LRMContext). The lrm-customtasktest.jar, located in the samples/CustomTask/ folder of your install directory, contains methods for testing out these different stages.
Configuration
custom-tasks>
<stages>
<prep-kit>
<before-send-locale>
<!-- Tasks that will run BEFORE files are uploaded to the specified L10n Vendor -->
</before-send-locale>
<after-send-locale>
<!-- Tasks that will run AFTER files have been successfully uploaded to the specified L10n Vendor -->
</after-send-locale>
</prep-kit>
<notification>
<before-notify-changes>
<!-- Tasks that will run before the Notify Changes email is sent -->
</before-notify-changes>
<before-late-prep-kits>
<!-- Tasks that will run before the Late Prep Kit email is sent -->
</before-late-prep-kits>
</notification>
<import-kit>
<before-import-locale>
<!-- Tasks that will run before files for a specific locale are imported -->
</before-import-locale>
<after-import-locale>
<!-- Tasks that will run after files for a specific locale have been imported successfully -->
</after-import-locale>
</import-kit>
</stages>
</custom-tasks>