public interface ReasonerProgressMonitor extends Serializable
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
interrupted. 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 |
---|---|
default void |
reasonerTaskBusy()
Indicates that the reasoner is busy performing a task whose size cannot be determined.
|
default void |
reasonerTaskProgressChanged(int value,
int max)
Indicates that the reasoner is part way through a particular task, for example consistency
checking, classification or realisation.
|
default void |
reasonerTaskStarted(String taskName)
Indicates that some reasoner task, for example, loading, consistency checking,
classification, realisation etc.
|
default void |
reasonerTaskStopped()
Indicates that a previously started task has now stopped.
|
static final String LOADING
static final String CLASSIFYING
static final String REALIZING
static final String CLASSIFYING_AND_REALIZING
default 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 taskdefault void reasonerTaskStopped()
reasonerTaskStarted(String)
method has been called. The notion of subtasks
is not supported. default 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 taskdefault void reasonerTaskBusy()
reasonerTaskStarted(String)
method has been
called. It will not be called after the reasonerTaskStopped()
method has been
called. Copyright © 2020 The University of Manchester. All rights reserved.