...
- charset- Optional charset used for reading the csv file. Defaults to ISO-8859-1.
- description - Optional description only used for reference.
- importFile - Path and name of a csv file from the model. This file will be imported.
- displayName - name used to display the import file name in the ModuleRunTableDisplay component.
- table - mapping of column names to displayNames and types that will be used to store in the FEWS database. If a column isn't mapped the csv column name is used as displayName and String is used as column type. The following types can be mapped :stringColumn - using the name attribute maps the csvColumn to map a csv column name to a displayName:
- and
- expiryTime - Optional. When the state is an intermediate result in a forecast run you can make the state expire. By default the expiry time is the same as for the module instance run.
- stringColumn - set the column type to string.
- booleanColumn - set the column type to boolean. Only the values 'true' and 'false' are allowed.
- integerColumn - set the column type to integer.
- doubleColumn - set the column type to double.
- dateTimeColumn - set the column type to dateTime. In case a date pattern is specified, the string will be parsed according this format. If no format was specified, a timestamp is assumed in milliseconds.
Configuration example:
New example that does not use a pi state description xml file. In this case, the output state file paths are configured directly in the importStateActivity as absolute paths:
...