public class NettoProfitFunction
extends org.pentaho.reporting.engine.classic.core.function.AbstractFunction
Constructor and Description |
---|
NettoProfitFunction()
Creates an unnamed function.
|
Modifier and Type | Method and Description |
---|---|
Object |
getValue()
Return the current expression value.
|
void |
groupFinished(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
Receives notification that a group has finished.
|
void |
reportInitialized(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
Receives notification that report generation initializes the current run.
|
groupStarted, itemsAdvanced, itemsFinished, itemsStarted, reportDone, reportFinished, reportStarted, summaryRowSelection
clone, getDataRow, getDependencyLevel, getInstance, getName, getReportConfiguration, getResourceBundleFactory, getRuntime, isActive, isDeepTraversing, isPreserve, setActive, setDependencyLevel, setName, setPreserve, setRuntime
public NettoProfitFunction()
AbstractExpression.setName(java.lang.String)
before the function
is added to the report's function collection.public void reportInitialized(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
The event carries a ReportState.Started state. Use this to initialize the report.
reportInitialized
in interface org.pentaho.reporting.engine.classic.core.event.ReportListener
reportInitialized
in class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
event
- The event.public void groupFinished(org.pentaho.reporting.engine.classic.core.event.ReportEvent event)
groupFinished
in interface org.pentaho.reporting.engine.classic.core.event.ReportListener
groupFinished
in class org.pentaho.reporting.engine.classic.core.function.AbstractFunction
event
- the event.public Object getValue()
The value depends (obviously) on the expression implementation.