public class JRCompilationUnit extends Object
| Constructor and Description |
|---|
JRCompilationUnit(String name) |
JRCompilationUnit(String name,
JRCompilationSourceCode sourceCode,
File sourceFile,
List<JRExpression> expressions,
JRSourceCompileTask compileTask)
Deprecated.
in favor of
JRCompilationUnit(String) and
setSource(JRCompilationSourceCode, File, JRSourceCompileTask).
Expressions are available via JRSourceCompileTask.getExpressions() |
| 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.
|
Map<Integer,DirectExpressionEvaluation> |
getDirectEvaluations() |
List<JRExpression> |
getExpressions()
Deprecated.
in favor of
JRSourceCompileTask.getExpressions() |
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.
|
boolean |
hasSource() |
void |
setCompileData(Serializable compileData)
Sets the compilation data used for creating expression evaluators.
|
void |
setDirectEvaluations(Map<Integer,DirectExpressionEvaluation> directEvaluations) |
void |
setSource(JRCompilationSourceCode sourceCode,
File sourceFile,
JRSourceCompileTask compileTask) |
@Deprecated public JRCompilationUnit(String name, JRCompilationSourceCode sourceCode, File sourceFile, List<JRExpression> expressions, JRSourceCompileTask compileTask)
JRCompilationUnit(String) and
setSource(JRCompilationSourceCode, File, JRSourceCompileTask).
Expressions are available via JRSourceCompileTask.getExpressions()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 JRCompilationUnit(String name)
public String getName()
public String getSourceCode()
public JRCompilationSourceCode getCompilationSource()
public File getSourceFile()
@Deprecated public List<JRExpression> getExpressions()
JRSourceCompileTask.getExpressions()public void setCompileData(Serializable compileData)
compileData - the compilation datapublic Serializable getCompileData()
public JRSourceCompileTask getCompileTask()
public void setSource(JRCompilationSourceCode sourceCode, File sourceFile, JRSourceCompileTask compileTask)
public boolean hasSource()
public Map<Integer,DirectExpressionEvaluation> getDirectEvaluations()
public void setDirectEvaluations(Map<Integer,DirectExpressionEvaluation> directEvaluations)
Copyright © 2020 TIBCO Software Inc.. All rights reserved.