|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReasonerTask
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Jul 22, 2004
ReasonerTask
interface defines the various
'monitoring' methods that are available.
Method Summary | |
---|---|
void |
addTaskListener(ReasonerTaskListener lsnr)
Adds a ReasonerTaskListener , which is
notified when the state of the task changes, for example
when progress changes, or the task message changes. |
String |
getDescription()
Gets a high level description of the task. |
String |
getMessage()
Gets the current task message. |
int |
getProgress()
Gets the current progress of a task. |
int |
getTaskSize()
Gets the size of the task. |
boolean |
isProgressIndeterminate()
Determines whether the task can determine its overall progress. |
boolean |
isRequestAbort()
|
void |
removeTaskListener(ReasonerTaskListener lsnr)
Removes a previously added task listener. |
void |
run()
Executes the task. |
void |
setRequestAbort()
|
Method Detail |
---|
int getTaskSize()
int getProgress()
boolean isProgressIndeterminate()
true
if the progress cannot
be determined. false
if the progress
can be determined. If a task is indeterminate the
results for getTaskSize
and getProgress
are undefined.String getDescription()
String getMessage()
void run() throws ProtegeReasonerException
ProtegeReasonerException
void addTaskListener(ReasonerTaskListener lsnr)
ReasonerTaskListener
, which is
notified when the state of the task changes, for example
when progress changes, or the task message changes.
void removeTaskListener(ReasonerTaskListener lsnr)
void setRequestAbort()
boolean isRequestAbort()
|
Protégé-OWL 3.4 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |