public class JRCompilationUnit extends Object
Constructor and Description |
---|
JRCompilationUnit(String name,
JRCompilationSourceCode sourceCode,
File sourceFile,
List<JRExpression> expressions,
JRSourceCompileTask compileTask)
Creates a compilation unit.
|
Modifier and Type | Method and Description |
---|---|
JRCompilationSourceCode |
getCompilationSource()
Returns the compilation source code unit.
|
Serializable |
getCompileData()
Returns the compilation data used for creating expression evaluators.
|
JRSourceCompileTask |
getCompileTask()
Returns the compile task for the unit.
|
List<JRExpression> |
getExpressions()
Returns the list of expressions.
|
String |
getName()
Returns the name of the unit.
|
String |
getSourceCode()
Returns the source code generated for the unit.
|
File |
getSourceFile()
Returns the file where the source code was saved.
|
void |
setCompileData(Serializable compileData)
Sets the compilation data used for creating expression evaluators.
|
public JRCompilationUnit(String name, JRCompilationSourceCode sourceCode, File sourceFile, List<JRExpression> expressions, JRSourceCompileTask compileTask)
name
- the name of the unitsourceCode
- the source code generated for the unitsourceFile
- the file where the source code was savedexpressions
- the list of expressionscompileTask
- the compile task for the unitpublic String getName()
public String getSourceCode()
public JRCompilationSourceCode getCompilationSource()
public File getSourceFile()
public List<JRExpression> getExpressions()
public void setCompileData(Serializable compileData)
compileData
- the compilation datapublic Serializable getCompileData()
public JRSourceCompileTask getCompileTask()
Copyright © 2017. All rights reserved.