Details
-
Feature
-
Status: Released (View Workflow)
-
Major
-
Resolution: Fixed
-
None
Description
Interface Operation
- JobScheduler provides an interface that can make use of a Plugin to modify a job configuration.
- The Plugin is executed in the event of a job being loaded or re-loaded.
- The Plugin is handed over
- the XML representation of the job configuration that is being loaded, i.e. the <job> XML node.
- the Plugin specific configuration as stated in the below example with the <plugin.config> XML node.
- The Plugin returns the job configuration that should be used by JobScheduler, i.e. the <job> XML node.
Configuration
- The Plugin is configured in ./config/scheduler.xml with the following elements:
- Example Plugin configuration:
<spooler xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://www.sos-berlin.com/repository/scheduler/1.7/scheduler.xsd"> <config> <plugins> <plugin java_class="...ConfigurationChangingPlugin"> <plugin.config ...> ... </plugin.config> </plugin> </plugins> </config> </spooler>
Area of Operation