When using FileBatchService to run ModuleBatchProcessor on a module with File inputs, we currently just ask for a list of Files without restrictions:
|
@Parameter(label = "Input files") |
|
private File[] inputFileList; |
We should however respect the style annotation of the given moduleInfo and take the same (files, directories as well as extensions:*) to restrict our input file list. Let's add some logic in the initializer of ModuleBatchProcessor.