public abstract static class MetadataEnvironment.DiagnosticRecorder
extends java.lang.Object
Constructor and Description |
---|
DiagnosticRecorder() |
Modifier and Type | Method and Description |
---|---|
static MetadataEnvironment.DiagnosticRecorder |
getCurrent()
Returns the diagnostic recorder of the metadata environment from the
current ADF context if the metdata environment supports diagnostics.
|
void |
pause(java.lang.Class klass,
java.lang.String breakpoint,
java.util.Map<java.lang.String,java.lang.Object> state)
Pauses during execution to exchange information.
|
abstract <T extends MetadataEnvironment.DiagnosticRecord> |
record(T record)
Records a piece of diagnostic data.
|
public abstract <T extends MetadataEnvironment.DiagnosticRecord> T record(T record)
T
- the type of the diagnostic datarecord
- the piece of diagnostic datapublic void pause(java.lang.Class klass, java.lang.String breakpoint, java.util.Map<java.lang.String,java.lang.Object> state)
klass
- the class where the current breakpoint isbreakpoint
- the name of the breakpoint withint the classstate
- the current state of the execution relevant to the given
class. The map is updatable if the state can be
updated. The updated state may alter the execution path.public static MetadataEnvironment.DiagnosticRecorder getCurrent()
null
if the metadata
environment does not support diagnostics or diagnostics is
disabled