public class TracerFactory extends Object implements TracerFactoryMBean
Modifier and Type | Field and Description |
---|---|
static String |
AUTOMATION_TRACE_PRINTABLE_PROPERTY |
static String |
AUTOMATION_TRACE_PROPERTY |
Constructor and Description |
---|
TracerFactory() |
Modifier and Type | Method and Description |
---|---|
void |
clearTrace(OperationChain chain) |
void |
clearTrace(OperationChain chain,
int index) |
void |
clearTraces() |
Trace |
getLastErrorTrace() |
String |
getPrintableTraces() |
boolean |
getRecordingState() |
Trace |
getTrace(OperationChain chain,
int index) |
Trace |
getTrace(String key) |
Trace |
getTrace(String key,
int index) |
OperationCallback |
newTracer(String operationTypeId)
If trace mode is enabled, instantiate
Tracer . |
void |
onTrace(Trace popped) |
String |
recordTrace(Trace trace) |
String |
setPrintableTraces(String printableTraces) |
boolean |
toggleRecording() |
public static final String AUTOMATION_TRACE_PROPERTY
public static final String AUTOMATION_TRACE_PRINTABLE_PROPERTY
public OperationCallback newTracer(String operationTypeId)
Tracer
. If not,
instantiate TracerLite
.public Trace getTrace(OperationChain chain, int index)
public Trace getTrace(String key)
key
- The name of the chain.public Trace getLastErrorTrace()
public void clearTrace(OperationChain chain, int index)
public void clearTrace(OperationChain chain)
public void clearTraces()
clearTraces
in interface TracerFactoryMBean
public void onTrace(Trace popped)
public boolean toggleRecording()
toggleRecording
in interface TracerFactoryMBean
public boolean getRecordingState()
getRecordingState
in interface TracerFactoryMBean
public String getPrintableTraces()
getPrintableTraces
in interface TracerFactoryMBean
public String setPrintableTraces(String printableTraces)
setPrintableTraces
in interface TracerFactoryMBean
Copyright © 2013 Nuxeo SA. All Rights Reserved.