Class LadybugDebugger

java.lang.Object
org.frankframework.ladybug.LadybugDebugger
All Implemented Interfaces:
EventListener, nl.nn.testtool.Debugger, nl.nn.testtool.Rerunner, org.springframework.beans.factory.Aware, org.springframework.beans.factory.InitializingBean, org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationEventPublisherAware, org.springframework.context.ApplicationListener<DebuggerStatusChangedEvent>
Direct Known Subclasses:
Tibet2Debugger

public class LadybugDebugger extends Object implements org.springframework.context.ApplicationContextAware, org.springframework.context.ApplicationListener<DebuggerStatusChangedEvent>, org.springframework.context.ApplicationEventPublisherAware, nl.nn.testtool.Debugger, org.springframework.beans.factory.InitializingBean
Author:
Jaco de Groot
  • Field Details

  • Constructor Details

    • LadybugDebugger

      public LadybugDebugger()
  • Method Details

    • afterPropertiesSet

      public void afterPropertiesSet()
      TestTool can't be wired by name or type. We must fetch it from a parent (SpringBoot) context.
      Specified by:
      afterPropertiesSet in interface org.springframework.beans.factory.InitializingBean
    • rerun

      public String rerun(String correlationId, nl.nn.testtool.Report originalReport, nl.nn.testtool.SecurityContext securityContext, nl.nn.testtool.run.ReportRunner reportRunner)
      Specified by:
      rerun in interface nl.nn.testtool.Rerunner
    • getStubStrategies

      public List<String> getStubStrategies()
      Specified by:
      getStubStrategies in interface nl.nn.testtool.Debugger
    • getDefaultStubStrategy

      public String getDefaultStubStrategy()
      Specified by:
      getDefaultStubStrategy in interface nl.nn.testtool.Debugger
    • stub

      public boolean stub(nl.nn.testtool.Checkpoint checkpoint, String strategy)
      Specified by:
      stub in interface nl.nn.testtool.Debugger
    • stubSender

      public boolean stubSender(ISender sender, String correlationId)
      Called by IbisDebuggerAdvice. Verifies if the specified sender should be stubbed or not.
    • stubReplyListener

      public boolean stubReplyListener(IListener<?> listener, String correlationId)
      Called by IbisDebuggerAdvice. Verifies if the specified listener should be stubbed or not.
    • updateReportGeneratorStatus

      public void updateReportGeneratorStatus(boolean enabled)
      Specified by:
      updateReportGeneratorStatus in interface nl.nn.testtool.Debugger
    • onApplicationEvent

      public void onApplicationEvent(DebuggerStatusChangedEvent event)
      Specified by:
      onApplicationEvent in interface org.springframework.context.ApplicationListener<DebuggerStatusChangedEvent>