|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ReasonerProgressMonitor
Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 29-Nov-2009
reasonerTaskStarted(String)
, then call
either reasonerTaskBusy()
or reasonerTaskProgressChanged(int, int)
any number of times
and finally call reasonerTaskStopped()
when the task ends or has been interupted. This cycle may
then be repeated.
Field Summary | |
---|---|
static java.lang.String |
CLASSIFYING
A standard name for the task of computing the class hierarchy. |
static java.lang.String |
CLASSIFYING_AND_REALIZING
A standard name for the task of classifying and realising at the same time. |
static java.lang.String |
LOADING
A standard name for the task of loading a reasoner with axioms. |
static java.lang.String |
REALIZING
A standard name for the task of computing the types of individual. |
Method Summary | |
---|---|
void |
reasonerTaskBusy()
Indicates that the reasoner is busy performing a task whose size cannot be determined. |
void |
reasonerTaskProgressChanged(int value,
int max)
Indicates that the reasoner is part way through a particular task, for example consistency checking, classification or reaslisation. |
void |
reasonerTaskStarted(java.lang.String taskName)
Indicates that some reasoner task, for example, loading, consistency checking, classification, realisation etc. |
void |
reasonerTaskStopped()
Indicates that a previosly started task has now stopped. |
Field Detail |
---|
static final java.lang.String LOADING
static final java.lang.String CLASSIFYING
static final java.lang.String REALIZING
static final java.lang.String CLASSIFYING_AND_REALIZING
Method Detail |
---|
void reasonerTaskStarted(java.lang.String taskName)
reasonerTaskStopped()
method will be called.
Once this method has been called it will not be called again unless the
reasonerTaskStopped()
method has been called. The notion of subtasks is not supported.
Note that this method may be called from a thread that is not the event dispatch thread.
taskName
- The name of the taskvoid reasonerTaskStopped()
reasonerTaskStarted(String)
method has been called. The notion of subtasks is not supported.
Note that this method may be called from a thread that is not the event dispatch thread.
void reasonerTaskProgressChanged(int value, int max)
reasonerTaskStarted(String)
method has been called. It will not be called after the reasonerTaskStopped()
method has been called.
Note that this method may be called from a thread that is not the event
dispatch thread.
value
- The value or portion of the task completedmax
- The total size of the taskvoid reasonerTaskBusy()
reasonerTaskStarted(String)
method has been called. It will not be called after
the reasonerTaskStopped()
method has been called.
Note that this
method may be called from a thread that is not the event dispatch thread.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |