Class SampleHtmlThread
- java.lang.Object
-
- java.lang.Thread
-
- org.apache.ofbiz.htmlreport.AbstractReportThread
-
- org.apache.ofbiz.htmlreport.sample.SampleHtmlThread
-
- All Implemented Interfaces:
java.lang.Runnable
,InterfaceReportThread
public class SampleHtmlThread extends AbstractReportThread
Thread for running sample html report.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
CONFIRM
static java.lang.String
COUNT_DOWN
static java.lang.String
COUNT_UP
static java.lang.String[]
messageLables
static java.util.List<java.lang.String>
messages
-
Constructor Summary
Constructors Constructor Description SampleHtmlThread(javax.servlet.http.HttpServletRequest request, javax.servlet.http.HttpServletResponse response, java.lang.String name)
Constructor, creates a new HtmlImportThreat.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getReportUpdate()
Returns the part of the report that is ready for output.void
run()
-
Methods inherited from class org.apache.ofbiz.htmlreport.AbstractReportThread
addError, getError, getErrors, getLocale, getReport, getRuntime, getUUID, hasError, initHtmlReport, initHtmlReport, initHtmlReport, isDoomed
-
Methods inherited from class java.lang.Thread
activeCount, checkAccess, clone, countStackFrames, currentThread, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, onSpinWait, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, suspend, toString, yield
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface org.apache.ofbiz.htmlreport.InterfaceReportThread
start
-
-
-
-
Field Detail
-
COUNT_DOWN
public static final java.lang.String COUNT_DOWN
- See Also:
- Constant Field Values
-
COUNT_UP
public static final java.lang.String COUNT_UP
- See Also:
- Constant Field Values
-
CONFIRM
public static final java.lang.String CONFIRM
- See Also:
- Constant Field Values
-
messageLables
public static final java.lang.String[] messageLables
-
messages
public static final java.util.List<java.lang.String> messages
-
-
Method Detail
-
getReportUpdate
public java.lang.String getReportUpdate()
Description copied from class:AbstractReportThread
Returns the part of the report that is ready for output.- Specified by:
getReportUpdate
in classAbstractReportThread
- Returns:
- the part of the report that is ready for output
-
run
public void run()
- Specified by:
run
in interfacejava.lang.Runnable
- Overrides:
run
in classjava.lang.Thread
- See Also:
Runnable.run()
-
-