java.lang.Object
com.virtuosotechnologies.lib.propertyset.BasicPropertySet
com.virtuosotechnologies.lib.asyncjob.AbstractAsyncJob
- All Implemented Interfaces:
- AsyncJob, com.virtuosotechnologies.lib.propertyset.PropertySet
- public abstract class AbstractAsyncJob
- extends com.virtuosotechnologies.lib.propertyset.BasicPropertySet
- implements AsyncJob
Abstract base implementation of AsyncJob
| Fields inherited from class com.virtuosotechnologies.lib.propertyset.BasicPropertySet |
|
|
Constructor Summary |
protected |
AbstractAsyncJob()
Constructor |
protected |
AbstractAsyncJob(com.virtuosotechnologies.lib.propertyset.PropertySet defaultProperties)
Constructor |
protected |
AbstractAsyncJob(com.virtuosotechnologies.lib.propertyset.PropertySet defaultProperties,
java.lang.String jobName,
boolean canCancel)
Constructor |
protected |
AbstractAsyncJob(com.virtuosotechnologies.lib.propertyset.PropertySet defaultProperties,
java.lang.String jobName,
boolean canCancel,
float initialFractionDone,
java.lang.String initialProgressString)
Constructor |
protected |
AbstractAsyncJob(java.lang.String jobName,
boolean canCancel)
Constructor |
protected |
AbstractAsyncJob(java.lang.String jobName,
boolean canCancel,
float initialFractionDone,
java.lang.String initialProgressString)
Constructor |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.virtuosotechnologies.lib.asyncjob.AsyncJob |
run |
AbstractAsyncJob
protected AbstractAsyncJob(com.virtuosotechnologies.lib.propertyset.PropertySet defaultProperties,
java.lang.String jobName,
boolean canCancel,
float initialFractionDone,
java.lang.String initialProgressString)
- Constructor
AbstractAsyncJob
protected AbstractAsyncJob(java.lang.String jobName,
boolean canCancel,
float initialFractionDone,
java.lang.String initialProgressString)
- Constructor
AbstractAsyncJob
protected AbstractAsyncJob(com.virtuosotechnologies.lib.propertyset.PropertySet defaultProperties,
java.lang.String jobName,
boolean canCancel)
- Constructor
AbstractAsyncJob
protected AbstractAsyncJob(java.lang.String jobName,
boolean canCancel)
- Constructor
AbstractAsyncJob
protected AbstractAsyncJob(com.virtuosotechnologies.lib.propertyset.PropertySet defaultProperties)
- Constructor
AbstractAsyncJob
protected AbstractAsyncJob()
- Constructor
interrupt
public boolean interrupt(AsyncJobException exception)
- Interrupt the job if it is currently running. The implementation
should respond by throwing the given AsyncJobException out of run.
If no custom exception is specified, the job should throw a new
AsyncJobInterruptedException.
This default implementation returns false to indicate that the job
cannot be interrupted.
- Specified by:
interrupt in interface AsyncJob