Package dev.runabout

Interface MethodResolver


  • public interface MethodResolver
    Runabout interface for determining the caller method when using the RunaboutService. This interface is used to ensure the correct method is recorded when saving a runabout scenario. The library comes with a default implementation and a builder to meet most use cases. See MethodResolverBuilder for more information.
    • Method Detail

      • getMethod

        java.lang.reflect.Method getMethod()
        Determines the method further down the stack that called into the RunaboutService and should be used in the resulting RunaboutScenario.
        Returns:
        The method that the scenario will run.
      • getSerializedMethod

        default java.lang.String getSerializedMethod()
        Gets the method as a string in the format expected by Runabout. Only override this method if you have a custom method format that Runabout can understand.
        Returns:
        A string identifying the method.