|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectuk.ac.ic.doc.automed.reasoner.DIGReasonerPreferences
public class DIGReasonerPreferences
User: matthewhorridge
The Univeristy Of Manchester
Medical Informatics Group
Date: Feb 15, 2005
Field Summary | |
---|---|
private static DIGReasonerPreferences |
instance
|
private boolean |
logDIG
|
private java.io.OutputStream |
logOutputStream
|
private boolean |
treatErrorsAsWarnings
|
Constructor Summary | |
---|---|
private |
DIGReasonerPreferences()
|
Method Summary | |
---|---|
static DIGReasonerPreferences |
getInstance()
|
java.io.OutputStream |
getLogOutputStream()
Gets the output stream used for logging. |
boolean |
isLogDIG()
Determines if logging is on. |
boolean |
isTreatErrorsAsWarnings()
Determines if DIG Errors should be regarded as warnings. |
void |
setLogDIG(boolean b)
Specifies whether or not the DIG communication with the reasoner should be logged. |
void |
setLogOutputStream(java.io.OutputStream logOutputStream)
Sets the output stream used for logging. |
void |
setTreatErrorsAsWarnings(boolean b)
Specifies whether DIG Errors should be regarded as warnings |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static DIGReasonerPreferences instance
private boolean treatErrorsAsWarnings
private boolean logDIG
private java.io.OutputStream logOutputStream
Constructor Detail |
---|
private DIGReasonerPreferences()
Method Detail |
---|
public static DIGReasonerPreferences getInstance()
public boolean isTreatErrorsAsWarnings()
public void setTreatErrorsAsWarnings(boolean b)
b
- true
if errors should be regarded
as warnings, otherwise false
.public boolean isLogDIG()
public void setLogDIG(boolean b)
public java.io.OutputStream getLogOutputStream()
public void setLogOutputStream(java.io.OutputStream logOutputStream)
|
||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |