|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.pentaho.reporting.engine.classic.core.function.formula.IsExportTypeFunction
public class IsExportTypeFunction
Tests, whether a certain export type is currently used. This matches the given export type with the export type that is specified by the output-target. The given export type can be a partial pattern, in which case this expression tests, whether the given export type is a sub-type of the output-target's type.
To test whether a table-export is used, specifiy the export type as "table" and it will match all table exports.
Constructor Summary | |
---|---|
IsExportTypeFunction()
Default Constructor. |
Method Summary | |
---|---|
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. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public IsExportTypeFunction()
Method Detail |
---|
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.
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |