oracle.jbo.common
Class ConsoleDiagnosticImpl
java.lang.Object
|
+--oracle.jbo.common.ConsoleDiagnosticImpl
- All Implemented Interfaces:
- IDiagnostic
- public class ConsoleDiagnosticImpl
- extends java.lang.Object
- implements IDiagnostic
The superclass for classes that display diagnostics in a console.
This class is instantiated in DiagonsticFactory#createDiagnostic()
.
- Since:
- Jdeveloper 3.0
Type | Method |
void |
print(java.lang.String message)
Displays a message in the console. |
void |
println(java.lang.String message)
Displays a message, with a carrage-return, in the console. |
java.lang.String |
toString()
Produces a textual description of this diagnostic service. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
ConsoleDiagnosticImpl
public ConsoleDiagnosticImpl()
- Creates an instance.
print
public void print(java.lang.String message)
- Displays a message in the console.
- Specified by:
print
in interface IDiagnostic
- Parameters:
message
- the message to be printed.
println
public void println(java.lang.String message)
- Displays a message, with a carrage-return, in the console.
- Specified by:
println
in interface IDiagnostic
- Parameters:
message
- the message to be printed.
toString
public java.lang.String toString()
- Produces a textual description of this diagnostic service.
- Specified by:
toString
in interface IDiagnostic
- Overrides:
toString
in class java.lang.Object
- Returns:
- a status string.