public class IsExportTypeFunction extends Object implements org.pentaho.reporting.libraries.formula.function.Function
Constructor and Description |
---|
IsExportTypeFunction()
Default Constructor.
|
Modifier and Type | Method and Description |
---|---|
org.pentaho.reporting.libraries.formula.lvalues.TypeValuePair |
evaluate(org.pentaho.reporting.libraries.formula.FormulaContext context,
org.pentaho.reporting.libraries.formula.function.ParameterCallback parameters)
Return Boolean.TRUE, if the specified export type matches the used export type, Boolean.FALSE otherwise.
|
String |
getCanonicalName()
Returns the Canonical Name of the function.
|
public IsExportTypeFunction()
public String getCanonicalName()
getCanonicalName
in interface org.pentaho.reporting.libraries.formula.function.Function
public org.pentaho.reporting.libraries.formula.lvalues.TypeValuePair evaluate(org.pentaho.reporting.libraries.formula.FormulaContext context, org.pentaho.reporting.libraries.formula.function.ParameterCallback parameters) throws org.pentaho.reporting.libraries.formula.EvaluationException
evaluate
in interface org.pentaho.reporting.libraries.formula.function.Function
context
- the formula context, which allows access to the runtime.parameters
- the parameter callback is used to retrieve parameter values.org.pentaho.reporting.libraries.formula.EvaluationException
- if an error occurs.