Class ReportExportTask
- java.lang.Object
-
- org.pentaho.di.trans.steps.pentahoreporting.ReportExportTask
-
-
Field Summary
Fields Modifier and Type Field Description static String
BASE_RESOURCE_CLASS
protected Boolean
createParentFolder
protected static org.apache.commons.logging.Log
logger
protected org.pentaho.reporting.engine.classic.core.MasterReport
report
protected org.pentaho.reporting.engine.classic.core.modules.gui.common.StatusListener
statusListener
protected org.apache.commons.vfs2.FileObject
targetFile
protected String
targetPath
-
Constructor Summary
Constructors Constructor Description ReportExportTask(org.pentaho.reporting.engine.classic.core.MasterReport report, org.pentaho.reporting.engine.classic.core.modules.gui.commonswing.SwingGuiContext swingGuiContext, String targetPath, Boolean createParentFolder)
Creates a new PDF export task.
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract org.pentaho.reporting.engine.classic.core.layout.output.ReportProcessor
createReportProcessor(OutputStream fout)
protected void
execute()
protected String
getSuffix(String filename)
void
run()
When an object implementing interfaceRunnable
is used to create a thread, starting the thread causes the object'srun
method to be called in that separately executing thread.
-
-
-
Field Detail
-
logger
protected static final org.apache.commons.logging.Log logger
-
BASE_RESOURCE_CLASS
public static final String BASE_RESOURCE_CLASS
- See Also:
- Constant Field Values
-
report
protected org.pentaho.reporting.engine.classic.core.MasterReport report
-
statusListener
protected org.pentaho.reporting.engine.classic.core.modules.gui.common.StatusListener statusListener
-
createParentFolder
protected Boolean createParentFolder
-
targetPath
protected String targetPath
-
targetFile
protected org.apache.commons.vfs2.FileObject targetFile
-
-
Method Detail
-
run
public void run()
When an object implementing interfaceRunnable
is used to create a thread, starting the thread causes the object'srun
method to be called in that separately executing thread. The general contract of the methodrun
is that it may take any action whatsoever.- Specified by:
run
in interfaceRunnable
- See Also:
Thread.run()
-
createReportProcessor
protected abstract org.pentaho.reporting.engine.classic.core.layout.output.ReportProcessor createReportProcessor(OutputStream fout) throws Exception
- Throws:
Exception
-
-