public static final class InterceptorInvocationResult.Completed extends InterceptorInvocationResult
InterceptorInvocationResult.Completed, InterceptorInvocationResult.Failed, InterceptorInvocationResult.InProgress, InterceptorInvocationResult.Outcome
Constructor and Description |
---|
InterceptorInvocationResult.Completed(Object result,
UserVariables userVariables)
Create a new interceptor invocation completed result.
|
Modifier and Type | Method and Description |
---|---|
Object |
getResult()
Get the output object produced by the interceptor.
|
UserVariables |
getUserVariables()
Get the set of user variables stored in the interceptor invocation context after the interceptor has completed.
|
String |
toString() |
getOutcome
public InterceptorInvocationResult.Completed(Object result, UserVariables userVariables)
result
- the output object produced by the interceptor.userVariables
- the set of user variables stored in the interceptor invocation context after the interceptor has completed.public Object getResult()
null
if the original input object was null
.public UserVariables getUserVariables()