Interface CallingBuilder<U>

    • Method Detail

      • callingTheSingleUseCaseMethod

        Step1Builder callingTheSingleUseCaseMethod()
        This method invokes the only public method on the current use case instance. All parameters of the method are deserialized as defined by the UseCaseInvocationBuilder and the optional return value is serialized using the serializing definitions of the UseCaseInvocationBuilder.
        Returns:
        the next step in the fluent builder interface
      • callingBy

        Step1Builder callingBy​(Caller<U> caller)
        With this method the use case is invoked as defined in the given Caller.
        Parameters:
        caller - the caller to use
        Returns:
        the next step in the fluent builder interface