public class Diagnostics extends java.util.ArrayList<Diagnostics.Entry>
Modifier and Type | Class and Description |
---|---|
class |
Diagnostics.Entry
Represents the entry in the diagnostics report.
|
static class |
Diagnostics.Owner
Enumerates the NAS/Java runtime components that are capable of creating the
diagnostics report.
|
static class |
Diagnostics.Severity
Enumerates the severity of the defects in the diagnostics report.
|
Modifier and Type | Field and Description |
---|---|
Diagnostics.Owner |
owner
Identifies the component of the NAS/Java runtime that created the
diagnostics report.
|
Constructor and Description |
---|
Diagnostics()
Constructs an empty diagnostics report.
|
Diagnostics(Diagnostics source)
Constructs an empty diagnostics report.
|
Modifier and Type | Method and Description |
---|---|
void |
print(java.io.PrintStream s,
boolean printStackTrace)
Prints the diagnostics report to the
PrintStream . |
void |
print(java.io.PrintWriter s,
boolean printStackTrace)
Prints the diagnostics report to the
PrintWriter . |
Diagnostics.Severity |
severity()
Determines the highest severity level of entries contained in the diagnostics report.
|
java.lang.String |
toString()
Presents the diagnostics report in human-readable format.
|
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public Diagnostics.Owner owner
public Diagnostics()
public Diagnostics(Diagnostics source)
source
- identifies the NAS/Java runtime component that requested
the diagnostics report.public Diagnostics.Severity severity()
public java.lang.String toString()
toString
in class java.util.AbstractCollection<Diagnostics.Entry>
public void print(java.io.PrintStream s, boolean printStackTrace)
PrintStream
.s
- the PrintStream
.printStackTrace
- instructs the method to print the exception stack
traces to the output when entries have a details
field that contains
a Throwable
object.public void print(java.io.PrintWriter s, boolean printStackTrace)
PrintWriter
.s
- the PrintWriter
.printStackTrace
- instructs the method to print the exception stack
traces to the output when entries have a details
field that contains
a Throwable
object.Copyright © 2023 OSS Nokalva, Inc. All rights reserved.
This document is proprietary to OSS Nokalva, Inc., and may be used only by their direct licensees. Distribution is not permitted. This copyright statement must not be removed.