public interface ReasonerProgressMonitor
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.Modifier and Type | Field and Description |
---|---|
static String |
CLASSIFYING
A standard name for the task of computing the class hierarchy.
|
static String |
CLASSIFYING_AND_REALIZING
A standard name for the task of classifying and realising at the same
time.
|
static String |
LOADING
A standard name for the task of loading a reasoner with axioms.
|
static String |
REALIZING
A standard name for the task of computing the types of individual.
|
Modifier and Type | Method and Description |
---|---|
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(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.
|
static final String LOADING
static final String CLASSIFYING
static final String REALIZING
static final String CLASSIFYING_AND_REALIZING
void reasonerTaskStarted(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. taskName
- The name of the taskvoid reasonerTaskStopped()
reasonerTaskStarted(String)
method has
been called. The notion of subtasks is not supported. void reasonerTaskProgressChanged(int value, int max)
reasonerTaskStarted(String)
method
has been called. It will not be called after the
reasonerTaskStopped()
method has been called. 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. Copyright © 2017 The University of Manchester. All Rights Reserved.