to Successful Outcome
public Success toSuccessfulOutcome(Object rawResult, CommandHandler target, CommandEnvelope handledSignal)
Converts the raw method result to a successful propagation outcome.
Return
the method result
Parameters
raw Result
the return value of the method
target
the method receiver
handled Signal
the handled signal
Throws
if the method produced result of an unexpected format