public class JRContinuationSubreportRunner extends JRSubreportRunnable implements JRSubreportRunner
JRSubreportRunner
using Javaflow continuations.| Constructor and Description |
|---|
JRContinuationSubreportRunner(JRFillSubreport fillSubreport) |
| Modifier and Type | Method and Description |
|---|---|
void |
cancel()
Cancels the current fill process.
|
boolean |
isFilling()
Decides whether the subreport filling has ended or not.
|
void |
reset()
Resets the runner, preparing it for a new fill.
|
JRSubreportRunResult |
resume()
Resumes the filling of a subreport.
|
JRSubreportRunResult |
start()
Starts to fill the subreport.
|
void |
suspend()
Suspends the current fill.
|
isRunning, run, runResultpublic JRContinuationSubreportRunner(JRFillSubreport fillSubreport)
public boolean isFilling()
JRSubreportRunnerisFilling in interface JRSubreportRunnertrue if and only if the subreport filling has not endedpublic JRSubreportRunResult start()
JRSubreportRunnerThis method is always called by a thread owning the lock on the subreport filler.
start in interface JRSubreportRunnerpublic JRSubreportRunResult resume()
JRSubreportRunner
This method is called after the fill has been suspended by
suspend and the subreport should continue on the new page.
This method is always called by a thread owning the lock on the subreport filler.
resume in interface JRSubreportRunnerpublic void reset()
JRSubreportRunnerreset in interface JRSubreportRunnerpublic void cancel()
JRSubreportRunnerThis method is called when a subreport is placed on a non splitting band and needs to rewind.
This method is always called by a thread owning the lock on the subreport filler.
cancel in interface JRSubreportRunnerpublic void suspend()
JRSubreportRunnerThis method is called when the subreport reaches the end of a page and needs to wait for the master to create a new page.
This method is always called by a thread owning the lock on the subreport filler.
suspend in interface JRSubreportRunnerCopyright © 2017. All rights reserved.