public class FormulaArgument extends Object implements Serializable
Constructor and Description |
---|
FormulaArgument(String formula) |
Modifier and Type | Method and Description |
---|---|
Object |
compute(org.pentaho.reporting.libraries.formula.FormulaContext formulaContext) |
static String[] |
convert(FormulaArgument[] args) |
static FormulaArgument[] |
convert(String[] definedArgumentNames) |
static FormulaArgument |
create(String reportField) |
boolean |
equals(Object o) |
String |
getFormula() |
String[] |
getReferencedFields() |
int |
hashCode() |
public FormulaArgument(String formula)
public String getFormula()
public static FormulaArgument create(String reportField)
public static FormulaArgument[] convert(String[] definedArgumentNames)
public static String[] convert(FormulaArgument[] args)
public String[] getReferencedFields() throws org.pentaho.reporting.libraries.formula.parser.ParseException
org.pentaho.reporting.libraries.formula.parser.ParseException
public Object compute(org.pentaho.reporting.libraries.formula.FormulaContext formulaContext) throws org.pentaho.reporting.libraries.formula.EvaluationException, org.pentaho.reporting.libraries.formula.parser.ParseException
org.pentaho.reporting.libraries.formula.EvaluationException
org.pentaho.reporting.libraries.formula.parser.ParseException
Copyright © 2002–2017 Pentaho Corporation. All rights reserved.