Package net.sf.jasperreports.engine.fill
Class DatasetExecution
- java.lang.Object
-
- net.sf.jasperreports.engine.fill.DatasetExecution
-
public class DatasetExecution extends Object
- Author:
- Lucian Chirita (lucianc@users.sourceforge.net)
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description protected static class
DatasetExecution.ObjectFactory
-
Constructor Summary
Constructors Constructor Description DatasetExecution(RepositoryContext repositoryContext, JasperReport report, Map<String,Object> parameters)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
evaluateDataSource(JRBiConsumer<JRDataSource,Map<String,Object>> dataSourceConsumer)
void
evaluateParameters(BiConsumer<JRParameter,Object> parameterConsumer)
protected <R> R
runWithParameters(Callable<R> action)
-
-
-
Constructor Detail
-
DatasetExecution
public DatasetExecution(RepositoryContext repositoryContext, JasperReport report, Map<String,Object> parameters)
-
-
Method Detail
-
evaluateParameters
public void evaluateParameters(BiConsumer<JRParameter,Object> parameterConsumer) throws JRException
- Throws:
JRException
-
runWithParameters
protected <R> R runWithParameters(Callable<R> action) throws Exception
- Throws:
Exception
-
evaluateDataSource
public void evaluateDataSource(JRBiConsumer<JRDataSource,Map<String,Object>> dataSourceConsumer) throws Exception
- Throws:
Exception
-
-