public class Debugger extends Object implements IbisDebugger, nl.nn.testtool.Debugger, org.springframework.context.ApplicationListener<DebuggerStatusChangedEvent>
Modifier and Type | Field and Description |
---|---|
protected IbisManager |
ibisManager |
protected Set<String> |
inRerun |
Constructor and Description |
---|
Debugger() |
Modifier and Type | Method and Description |
---|---|
Throwable |
abortThread(Object sourceObject,
String correlationId,
Throwable throwable) |
void |
cancelThread(Object sourceObject,
String threadId,
String correlationId) |
Object |
capturedInput(String correlationId,
String value) |
void |
createThread(Object sourceObject,
String threadId,
String correlationId) |
Object |
endThread(Object sourceObject,
String correlationId,
Object output) |
String |
getDefaultStubStrategy() |
Object |
getEmptyInputReplacement(String correlationId,
Object replacementValue) |
Object |
getInputFromFixedValue(String correlationId,
Object fixedValue) |
Object |
getInputFromSessionKey(String correlationId,
String sessionKey,
Object sessionValue) |
List<String> |
getStubStrategies() |
void |
onApplicationEvent(DebuggerStatusChangedEvent event) |
Object |
parameterResolvedTo(Parameter parameter,
String correlationId,
Object value) |
Throwable |
pipeAbort(PipeLine pipeLine,
IPipe pipe,
String correlationId,
Throwable throwable) |
<T> T |
pipeInput(PipeLine pipeLine,
IPipe pipe,
String correlationId,
T input) |
Throwable |
pipeLineAbort(PipeLine pipeLine,
String correlationId,
Throwable throwable) |
Message |
pipeLineInput(PipeLine pipeLine,
String correlationId,
Message input) |
Message |
pipeLineOutput(PipeLine pipeLine,
String correlationId,
Message output) |
Object |
pipeLineSessionKey(String correlationId,
String sessionKey,
Object sessionValue) |
<T> T |
pipeOutput(PipeLine pipeLine,
IPipe pipe,
String correlationId,
T output) |
Message |
preserveInput(String correlationId,
Message input) |
Throwable |
replyListenerAbort(IListener<?> listener,
String correlationId,
Throwable throwable) |
String |
replyListenerInput(IListener<?> listener,
String correlationId,
String input) |
<M> M |
replyListenerOutput(IListener<M> listener,
String correlationId,
M output) |
String |
rerun(String correlationId,
nl.nn.testtool.Report originalReport,
nl.nn.testtool.SecurityContext securityContext,
nl.nn.testtool.run.ReportRunner reportRunner) |
Throwable |
senderAbort(ISender sender,
String correlationId,
Throwable throwable) |
<T> T |
senderInput(ISender sender,
String correlationId,
T input) |
<T> T |
senderOutput(ISender sender,
String correlationId,
T output) |
void |
setPipeDescriptionProvider(PipeDescriptionProvider pipeDescriptionProvider) |
void |
setTesterRoles(List<String> testerRoles) |
void |
setTestTool(nl.nn.testtool.TestTool testTool) |
<T> T |
showValue(String correlationId,
String label,
T value) |
Object |
startThread(Object sourceObject,
String threadId,
String correlationId,
Object input) |
Object |
storeInSessionKey(String correlationId,
String sessionKey,
Object result) |
boolean |
stub(nl.nn.testtool.Checkpoint checkpoint,
String strategy) |
boolean |
stubReplyListener(IListener<?> listener,
String correlationId) |
boolean |
stubSender(ISender sender,
String correlationId) |
void |
updateReportGeneratorStatus(boolean enabled) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIbisManager, setIbisManager
protected IbisManager ibisManager
public void setTestTool(nl.nn.testtool.TestTool testTool)
public void setPipeDescriptionProvider(PipeDescriptionProvider pipeDescriptionProvider)
public Message pipeLineInput(PipeLine pipeLine, String correlationId, Message input)
pipeLineInput
in interface IbisDebugger
public Object pipeLineSessionKey(String correlationId, String sessionKey, Object sessionValue)
pipeLineSessionKey
in interface IbisDebugger
public Message pipeLineOutput(PipeLine pipeLine, String correlationId, Message output)
pipeLineOutput
in interface IbisDebugger
public Throwable pipeLineAbort(PipeLine pipeLine, String correlationId, Throwable throwable)
pipeLineAbort
in interface IbisDebugger
public <T> T pipeInput(PipeLine pipeLine, IPipe pipe, String correlationId, T input)
pipeInput
in interface IbisDebugger
public <T> T pipeOutput(PipeLine pipeLine, IPipe pipe, String correlationId, T output)
pipeOutput
in interface IbisDebugger
public Throwable pipeAbort(PipeLine pipeLine, IPipe pipe, String correlationId, Throwable throwable)
pipeAbort
in interface IbisDebugger
public <T> T senderInput(ISender sender, String correlationId, T input)
senderInput
in interface IbisDebugger
public <T> T senderOutput(ISender sender, String correlationId, T output)
senderOutput
in interface IbisDebugger
public Throwable senderAbort(ISender sender, String correlationId, Throwable throwable)
senderAbort
in interface IbisDebugger
public String replyListenerInput(IListener<?> listener, String correlationId, String input)
replyListenerInput
in interface IbisDebugger
public <M> M replyListenerOutput(IListener<M> listener, String correlationId, M output)
replyListenerOutput
in interface IbisDebugger
public Throwable replyListenerAbort(IListener<?> listener, String correlationId, Throwable throwable)
replyListenerAbort
in interface IbisDebugger
public void createThread(Object sourceObject, String threadId, String correlationId)
createThread
in interface IbisDebugger
public void cancelThread(Object sourceObject, String threadId, String correlationId)
cancelThread
in interface IbisDebugger
public Object startThread(Object sourceObject, String threadId, String correlationId, Object input)
startThread
in interface IbisDebugger
public Object endThread(Object sourceObject, String correlationId, Object output)
endThread
in interface IbisDebugger
public Throwable abortThread(Object sourceObject, String correlationId, Throwable throwable)
abortThread
in interface IbisDebugger
public Object getInputFromSessionKey(String correlationId, String sessionKey, Object sessionValue)
getInputFromSessionKey
in interface IbisDebugger
public Object getInputFromFixedValue(String correlationId, Object fixedValue)
getInputFromFixedValue
in interface IbisDebugger
public Object getEmptyInputReplacement(String correlationId, Object replacementValue)
getEmptyInputReplacement
in interface IbisDebugger
public Object parameterResolvedTo(Parameter parameter, String correlationId, Object value)
parameterResolvedTo
in interface IbisDebugger
public Object storeInSessionKey(String correlationId, String sessionKey, Object result)
storeInSessionKey
in interface IbisDebugger
public <T> T showValue(String correlationId, String label, T value)
showValue
in interface IbisDebugger
public Message preserveInput(String correlationId, Message input)
preserveInput
in interface IbisDebugger
public String rerun(String correlationId, nl.nn.testtool.Report originalReport, nl.nn.testtool.SecurityContext securityContext, nl.nn.testtool.run.ReportRunner reportRunner)
rerun
in interface nl.nn.testtool.Rerunner
public List<String> getStubStrategies()
getStubStrategies
in interface nl.nn.testtool.Debugger
public String getDefaultStubStrategy()
getDefaultStubStrategy
in interface nl.nn.testtool.Debugger
public boolean stub(nl.nn.testtool.Checkpoint checkpoint, String strategy)
stub
in interface nl.nn.testtool.Debugger
public boolean stubSender(ISender sender, String correlationId)
stubSender
in interface IbisDebugger
public boolean stubReplyListener(IListener<?> listener, String correlationId)
stubReplyListener
in interface IbisDebugger
public void updateReportGeneratorStatus(boolean enabled)
updateReportGeneratorStatus
in interface nl.nn.testtool.Debugger
public void onApplicationEvent(DebuggerStatusChangedEvent event)
onApplicationEvent
in interface org.springframework.context.ApplicationListener<DebuggerStatusChangedEvent>
Copyright © 2023 Frank!Framework. All rights reserved.