Class TriggerTypeFunction

  • All Implemented Interfaces:
    Serializable, Cloneable, EventListener, org.pentaho.reporting.engine.classic.core.event.ReportListener, org.pentaho.reporting.engine.classic.core.function.Expression, org.pentaho.reporting.engine.classic.core.function.Function

    public class TriggerTypeFunction
    extends org.pentaho.reporting.engine.classic.core.function.AbstractFunction
    See Also:
    Serialized Form
    • Constructor Summary

      Constructors 
      Constructor Description
      TriggerTypeFunction()
      Creates an unnamed function.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      Object getValue()
      Return the current expression value.
      void groupStarted​(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
      Receives notification that a group has started.
      • Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractFunction

        groupFinished, itemsAdvanced, itemsFinished, itemsStarted, reportDone, reportFinished, reportInitialized, reportStarted, summaryRowSelection
      • Methods inherited from class org.pentaho.reporting.engine.classic.core.function.AbstractExpression

        clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
      • Methods inherited from interface org.pentaho.reporting.engine.classic.core.function.Expression

        clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setDependencyLevel, setName, setRuntime
    • Constructor Detail

      • TriggerTypeFunction

        public TriggerTypeFunction()
        Creates an unnamed function. Make sure the name of the function is set using AbstractExpression.setName(java.lang.String) before the function is added to the report's function collection.
    • Method Detail

      • groupStarted

        public void groupStarted​(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
        Receives notification that a group has started.
        Specified by:
        groupStarted in interface org.pentaho.reporting.engine.classic.core.event.ReportListener
        Overrides:
        groupStarted in class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
        Parameters:
        event - the event.
      • getValue

        public Object getValue()
        Return the current expression value.

        The value depends (obviously) on the expression implementation.

        Returns:
        the value of the function.