Page tree
Skip to end of metadata
Go to start of metadata

What

ModuleDescriptors.xml

Config group

SystemConfigFiles

Required

yes

Description

Registers the available modules to the system

schema location

http://fews.wldelft.nl/schemas/version1.0/moduleDescriptors.xsd

Module descriptors are obsolete since version 2013.02. The module that should be executed is recognized by the schema (xsd) in the config file. For modules with no or optional config the predefinedActivity can be used in a workflow xml

Only expert users should attempt to make changes in this configuration file. Mistakes can compromise the functionality of the complete system.

The module descriptors file is used to register module plug-ins that can be used in workflows. The module descriptors define the name of the module and the associated Java class to call. This class must implement the module plug-in interface for it to work within DELFT-FEWS. All modules that are included in the distribution of DELFT-FEWS are registered in the Module Descriptors. When available on the file system, the name of the XML file is for example:

ModuleDescriptors 1.00 default.xml

ModuleDescriptors                   Fixed file name for the module descriptors configuration

1.00                                            Version number

default                                       Flag to indicate the version is the default configuration (otherwise omitted).


Figure 21 Elements in the ModuleDescriptors configuration

moduleDescriptor

Root element of the module descriptor configuration. One entry is required for each module defined.

Attributes;

  • Id: Id or Name of the module
description

Optional description of the module. This is used for reference only.

className

Java class called when running the module as referenced by its Id. NOTE; this class must implement the DELFT-FEWS module plug-in interface.

  • No labels