Community
Participate
Working Groups
The IRerportItem interface allows extended items to contribute script methods through getMethods(). Since those methods are in fact subfunctions of onRender, onPrepare, .... It is necessary to pass the script name as an argument. So getMethods() should be change to getMethods(String scriptName) with scriptName = "onRender" for instance. Alternatively extended items can contribute methods in plugin.xml, so the javadoc should mention it will retrieve from both, and there is no need for the extended item to contribute the same method in plugin.xml and getMethods(scriptName).
Added getMethods(String) on IReportItem for extension elements. And deprecated the getMethods().