In my previous post I spoke about a new version of the CyberintegratorTool. As it turned out there is no easy way for me to maintain backwards compatibility. I was hoping not to have done this. So from today's build onwards you will need to use the new version of cyberintegratortool.jar file and the new CyberintegratorTool{File,Tupelo} interface.

Since I was breaking backwards compatibility I figured this was a good time to introduce multiple input and outputs. setInput now has as second argument a list of files/resources. void setInput(String id, List<File|Resource> input); The files/resources are in order in which the user selected them. The same goes for getOutput. List<File|Resource> getOutput(String id); It will return a list files/resources in order that they will be associated with the output.

To reflect this change in getInputs and getOutputs the Dataset definition now has a min and max value, which by default are 1. To make the number unlimited use max as 0.

Finally Parameter now has an enumeration as type which can be STRING, NUMBER, BOOLEAN.

Here is the link to the cyberintegratortool.jar jar file again.

An example of the interface can be found by looking at WordFinder

  • No labels