public class CreateSpatialIndexMonitorableTask extends java.lang.Object implements IMonitorableTask
| Constructor and Description |
|---|
CreateSpatialIndexMonitorableTask(FLyrVect layer)
Default constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
cancel() |
void |
finished()
This method is executed from the Event Dispatch Thread
when the background task finishes.
|
int |
getCurrentStep() |
int |
getFinishStep() |
int |
getInitialStep() |
java.lang.String |
getNote() |
java.lang.String |
getStatusMessage() |
boolean |
isCanceled() |
boolean |
isDefined()
Tells if it is a defined process (we know its number of steps)
|
boolean |
isFinished() |
void |
run()
Creates a CancellableMonitorable instance to monitor
progress and to cancel the process.
|
public CreateSpatialIndexMonitorableTask(FLyrVect layer) throws DataException
DriverIOExceptionDriverExceptionDataExceptionpublic void run()
throws java.lang.Exception
public int getInitialStep()
getInitialStep in interface IMonitorableTaskpublic int getFinishStep()
getFinishStep in interface IMonitorableTaskpublic int getCurrentStep()
getCurrentStep in interface IMonitorableTaskpublic java.lang.String getStatusMessage()
getStatusMessage in interface IMonitorableTaskpublic java.lang.String getNote()
getNote in interface IMonitorableTaskpublic void cancel()
cancel in interface ICancelableTaskpublic boolean isDefined()
isDefined in interface IMonitorableTaskpublic boolean isCanceled()
isCanceled in interface ICancelMonitorpublic boolean isFinished()
isFinished in interface ICancelMonitorpublic void finished()
IMonitorableTaskfinished in interface IMonitorableTask