Package org.semanticweb.owlapi.reasoner
Class ConsoleProgressMonitor
java.lang.Object
org.semanticweb.owlapi.reasoner.ConsoleProgressMonitor
- All Implemented Interfaces:
Serializable
,ReasonerProgressMonitor
- Since:
- 3.0.0
- Author:
- Matthew Horridge, The University of Manchester, Information Management Group
- See Also:
-
Field Summary
Fields inherited from interface org.semanticweb.owlapi.reasoner.ReasonerProgressMonitor
CLASSIFYING, CLASSIFYING_AND_REALIZING, LOADING, REALIZING
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
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 realisation.void
reasonerTaskStarted
(String taskName) Indicates that some reasoner task, for example, loading, consistency checking, classification, realisation etc.void
Indicates that a previously started task has now stopped.
-
Constructor Details
-
ConsoleProgressMonitor
public ConsoleProgressMonitor()
-
-
Method Details
-
reasonerTaskStarted
Description copied from interface:ReasonerProgressMonitor
Indicates that some reasoner task, for example, loading, consistency checking, classification, realisation etc. has started. When the task has finished theReasonerProgressMonitor.reasonerTaskStopped()
method will be called. Once this method has been called it will not be called again unless theReasonerProgressMonitor.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.- Specified by:
reasonerTaskStarted
in interfaceReasonerProgressMonitor
- Parameters:
taskName
- The name of the task
-
reasonerTaskStopped
public void reasonerTaskStopped()Description copied from interface:ReasonerProgressMonitor
Indicates that a previously started task has now stopped. This method will only be called after theReasonerProgressMonitor.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.- Specified by:
reasonerTaskStopped
in interfaceReasonerProgressMonitor
-
reasonerTaskProgressChanged
public void reasonerTaskProgressChanged(int value, int max) Description copied from interface:ReasonerProgressMonitor
Indicates that the reasoner is part way through a particular task, for example consistency checking, classification or realisation. This method will only be called after theReasonerProgressMonitor.reasonerTaskStarted(String)
method has been called. It will not be called after theReasonerProgressMonitor.reasonerTaskStopped()
method has been called.
Note that this method may be called from a thread that is not the event dispatch thread.- Specified by:
reasonerTaskProgressChanged
in interfaceReasonerProgressMonitor
- Parameters:
value
- The value or portion of the task completedmax
- The total size of the task
-
reasonerTaskBusy
public void reasonerTaskBusy()Description copied from interface:ReasonerProgressMonitor
Indicates that the reasoner is busy performing a task whose size cannot be determined. This method will only be called after theReasonerProgressMonitor.reasonerTaskStarted(String)
method has been called. It will not be called after theReasonerProgressMonitor.reasonerTaskStopped()
method has been called.
Note that this method may be called from a thread that is not the event dispatch thread.- Specified by:
reasonerTaskBusy
in interfaceReasonerProgressMonitor
-