Class JRSourceCompileTask
- java.lang.Object
-
- net.sf.jasperreports.engine.design.JRSourceCompileTask
-
public class JRSourceCompileTask extends Object
Expression evaluator source code generation information.- Author:
- Lucian Chirita ([email protected])
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
JRSourceCompileTask(JasperDesign jasperDesign, String unitName, JRExpressionCollector expressionCollector, List<JRExpression> expressions, Map<String,? extends JRParameter> parametersMap, Map<String,JRField> fieldsMap, Map<String,JRVariable> variablesMap, JRVariable[] variables, boolean onlyDefaultEvaluation)
JRSourceCompileTask(JasperDesign jasperDesign, String unitName, JRExpressionCollector expressionCollector, ReportSourceCompilation<?> sourceCompilation, boolean onlyDefaultEvaluation)
JRSourceCompileTask(JasperDesign jasperDesign, JRDesignCrosstab crosstab, JRExpressionCollector expressionCollector, String unitName)
JRSourceCompileTask(JasperDesign jasperDesign, JRDesignDataset dataset, JRExpressionCollector expressionCollector, String unitName)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JRExpression
getExpression(int expressionId)
Integer
getExpressionId(JRExpression expression)
List<JRExpression>
getExpressions()
Map<String,JRField>
getFieldsMap()
String[]
getImports()
JasperDesign
getJasperDesign()
JasperReportsContext
getJasperReportsContext()
Map<String,? extends JRParameter>
getParametersMap()
String
getUnitName()
JRVariable[]
getVariables()
Map<String,JRVariable>
getVariablesMap()
boolean
isOnlyDefaultEvaluation()
-
-
-
Constructor Detail
-
JRSourceCompileTask
protected JRSourceCompileTask(JasperDesign jasperDesign, String unitName, JRExpressionCollector expressionCollector, List<JRExpression> expressions, Map<String,? extends JRParameter> parametersMap, Map<String,JRField> fieldsMap, Map<String,JRVariable> variablesMap, JRVariable[] variables, boolean onlyDefaultEvaluation)
-
JRSourceCompileTask
public JRSourceCompileTask(JasperDesign jasperDesign, String unitName, JRExpressionCollector expressionCollector, ReportSourceCompilation<?> sourceCompilation, boolean onlyDefaultEvaluation)
-
JRSourceCompileTask
@Deprecated public JRSourceCompileTask(JasperDesign jasperDesign, JRDesignDataset dataset, JRExpressionCollector expressionCollector, String unitName)
Deprecated.Creates source code generation information for a dataset of a report.- Parameters:
jasperDesign
- the reportdataset
- the datasetexpressionCollector
- the expression collector used for the reportunitName
- the unit name of the code to be generated
-
JRSourceCompileTask
@Deprecated public JRSourceCompileTask(JasperDesign jasperDesign, JRDesignCrosstab crosstab, JRExpressionCollector expressionCollector, String unitName)
Deprecated.Creates source code generation information for a crosstab of a report.- Parameters:
jasperDesign
- the reportcrosstab
- the crosstabexpressionCollector
- the expression collector used for the reportunitName
- the unit name of the code to be generated
-
-
Method Detail
-
getExpressions
public List<JRExpression> getExpressions()
-
getJasperDesign
public JasperDesign getJasperDesign()
-
getImports
public String[] getImports()
-
isOnlyDefaultEvaluation
public boolean isOnlyDefaultEvaluation()
-
getParametersMap
public Map<String,? extends JRParameter> getParametersMap()
-
getUnitName
public String getUnitName()
-
getVariables
public JRVariable[] getVariables()
-
getVariablesMap
public Map<String,JRVariable> getVariablesMap()
-
getExpressionId
public Integer getExpressionId(JRExpression expression)
-
getExpression
public JRExpression getExpression(int expressionId)
-
getJasperReportsContext
public JasperReportsContext getJasperReportsContext()
-
-