- Should have 2 configuration properties:
- String scriptType
- String scriptCode
- The evalutor should do something like:
- Should have a user interface similar (or exactly like) the Sql Cohort Definition UI. The user should be able to define parameters that it accepts, and there should be a big text area for defining the script. There also needs to be a dropdown list of available Script types in order for the user to specify the type of script that they are authoring. You can get these from the javax.script package easily.
For examples of using javax.script, see: