Class ResourceLoaderListener

  • All Implemented Interfaces:
    EventListener, org.pentaho.reporting.engine.classic.core.event.ReportModelListener

    public class ResourceLoaderListener
    extends Object
    implements org.pentaho.reporting.engine.classic.core.event.ReportModelListener
    This listener is notified when a potential embedded resource is modified (added / updated / deleted).

    If the resource is determined to be an embedded resource, and that resource is not current embedded, then this will convert the resource to an embedded resource and alter the information in the report.

    • Constructor Detail

      • ResourceLoaderListener

        public ResourceLoaderListener​(org.pentaho.reporting.engine.classic.core.MasterReport masterReportElement,
                                      org.pentaho.reporting.engine.classic.core.AbstractReportDefinition report)
        Creates an embedded resource listener
        Parameters:
        masterReportElement -
        report -
    • Method Detail

      • nodeChanged

        public void nodeChanged​(org.pentaho.reporting.engine.classic.core.event.ReportModelEvent event)
        Indicates that an event has occurred that this listener may be interested in
        Specified by:
        nodeChanged in interface org.pentaho.reporting.engine.classic.core.event.ReportModelListener
        Parameters:
        event - the event that triggered this listener