Class FormulaArgument
- java.lang.Object
-
- org.pentaho.reporting.engine.classic.extensions.datasources.kettle.FormulaArgument
-
- All Implemented Interfaces:
Serializable
public class FormulaArgument extends Object implements Serializable
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description FormulaArgument(String formula)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Object
compute(org.pentaho.reporting.libraries.formula.FormulaContext formulaContext)
static FormulaArgument[]
convert(String[] definedArgumentNames)
static String[]
convert(FormulaArgument[] args)
static FormulaArgument
create(String reportField)
boolean
equals(Object o)
String
getFormula()
String[]
getReferencedFields()
int
hashCode()
-
-
-
Constructor Detail
-
FormulaArgument
public FormulaArgument(String formula)
-
-
Method Detail
-
getFormula
public String getFormula()
-
create
public static FormulaArgument create(String reportField)
-
convert
public static FormulaArgument[] convert(String[] definedArgumentNames)
-
convert
public static String[] convert(FormulaArgument[] args)
-
getReferencedFields
public String[] getReferencedFields() throws org.pentaho.reporting.libraries.formula.parser.ParseException
- Throws:
org.pentaho.reporting.libraries.formula.parser.ParseException
-
compute
public Object compute(org.pentaho.reporting.libraries.formula.FormulaContext formulaContext) throws org.pentaho.reporting.libraries.formula.EvaluationException, org.pentaho.reporting.libraries.formula.parser.ParseException
- Throws:
org.pentaho.reporting.libraries.formula.EvaluationException
org.pentaho.reporting.libraries.formula.parser.ParseException
-
-