I am considering making a patch to support a Matrix style spreadsheet.
Which way would you suggest I head
(a) add a new "decisionmatrixtable-conf to the schema a a new parser - because they are different
(modify droolsjbpm-integration//drools-spring/src/main/java/org/drools/container/spring/namespace/ResourceDefinitionParser.java)
(create a new DecisionTableConfiguration for Matrix sheets)
(b) add a new input type to the DecisionTable .. (XLS_MATRIX)
(c) add the ability to inject a "SheetLisner" as an optional parameter to "decisiontable-conf"
(d) other.
Something else I noted is that, when you do have a "SheetListener" passed to .compile( … ) you also cannot have a worksheetName
ie:
compile(stream, inputType, listener)
compile(stream, inputType)
compile(stream, string)
Does that need a little uplift as well ? The assumption that (stream, string) is always an XLS doesn't seem right.
regards
Ramon
Ramon Buckland