|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.ObjectofflineProcessing.TaskMonitorData
public class TaskMonitorData
Class used to transfer status and progress information out of the OfflienTaskGroup worker thread.
| Field Summary | |
|---|---|
(package private) int |
dataType
|
(package private) java.lang.String |
fileName
|
(package private) int |
globalProgress
|
(package private) double |
loadedProgress
Progress through loaded data Values < 0 represent unknown (i.e. |
(package private) int |
nFiles
|
static int |
SET_FILENAME
|
static int |
SET_NFILES
|
static int |
SET_PROGRESS
|
static int |
SET_STATUS
|
(package private) int |
status
|
| Constructor Summary | |
|---|---|
TaskMonitorData(int status)
Constructor used to set the status |
|
TaskMonitorData(int globalProgress,
double loadedProgress)
Constructor used to set the analysis progress. |
|
TaskMonitorData(int status,
int nFiles)
Constructor used to set both the status and the total number of files. |
|
TaskMonitorData(java.lang.String fileName)
Constructor used to set the current file name |
|
| Method Summary | |
|---|---|
static int |
getStatusCode(java.lang.String statusString)
Turn a status string back into a code. |
static java.lang.String |
getStatusString(int status)
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int SET_NFILES
public static final int SET_FILENAME
public static final int SET_STATUS
public static final int SET_PROGRESS
int dataType
int globalProgress
int nFiles
double loadedProgress
int status
java.lang.String fileName
| Constructor Detail |
|---|
TaskMonitorData(int status)
status - status
TaskMonitorData(int status,
int nFiles)
status - statusnFiles - number of filesTaskMonitorData(java.lang.String fileName)
fileName - file Name
TaskMonitorData(int globalProgress,
double loadedProgress)
globalProgress - loadedProgress - | Method Detail |
|---|
public static java.lang.String getStatusString(int status)
status - Task status
public static int getStatusCode(java.lang.String statusString)
statusString -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||