org.semanticweb.owlapi.reasoner
Class NullReasonerProgressMonitor

java.lang.Object
  extended by org.semanticweb.owlapi.reasoner.NullReasonerProgressMonitor
All Implemented Interfaces:
ReasonerProgressMonitor

public class NullReasonerProgressMonitor
extends java.lang.Object
implements ReasonerProgressMonitor

Author: Matthew Horridge
The University of Manchester
Information Management Group
Date: 29-Nov-2009 An implementation of a progress monitor that does nothing when it receives notification of progress events.


Field Summary
 
Fields inherited from interface org.semanticweb.owlapi.reasoner.ReasonerProgressMonitor
CLASSIFYING, CLASSIFYING_AND_REALIZING, LOADING, REALIZING
 
Constructor Summary
NullReasonerProgressMonitor()
           
 
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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NullReasonerProgressMonitor

public NullReasonerProgressMonitor()
Method Detail

reasonerTaskStarted

public void reasonerTaskStarted(java.lang.String taskName)
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 the ReasonerProgressMonitor.reasonerTaskStopped() method will be called. Once this method has been called it will not be called again unless the ReasonerProgressMonitor.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 interface ReasonerProgressMonitor
Parameters:
taskName - The name of the task

reasonerTaskStopped

public void reasonerTaskStopped()
Description copied from interface: ReasonerProgressMonitor
Indicates that a previosly started task has now stopped. This method will only be called after the ReasonerProgressMonitor.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 interface ReasonerProgressMonitor

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 reaslisation. This method will only be called after the ReasonerProgressMonitor.reasonerTaskStarted(String) method has been called. It will not be called after the ReasonerProgressMonitor.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 interface ReasonerProgressMonitor
Parameters:
value - The value or portion of the task completed
max - 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 the ReasonerProgressMonitor.reasonerTaskStarted(String) method has been called. It will not be called after the ReasonerProgressMonitor.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 interface ReasonerProgressMonitor