Class InterceptorInvocationResult.Completed
- java.lang.Object
-
- com.opencloud.slee.resources.sis.script.interceptors.InterceptorInvocationResult
-
- com.opencloud.slee.resources.sis.script.interceptors.InterceptorInvocationResult.Completed
-
- Enclosing class:
- InterceptorInvocationResult
public static final class InterceptorInvocationResult.Completed extends InterceptorInvocationResult
Class representing the result of an interceptor invocation that has completed successfully.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.slee.resources.sis.script.interceptors.InterceptorInvocationResult
InterceptorInvocationResult.Completed, InterceptorInvocationResult.Failed, InterceptorInvocationResult.InProgress, InterceptorInvocationResult.Outcome
-
-
Constructor Summary
Constructors Constructor Description Completed(Object result, UserVariables userVariables)
Create a new interceptor invocation completed result.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method 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()
-
Methods inherited from class com.opencloud.slee.resources.sis.script.interceptors.InterceptorInvocationResult
getOutcome
-
-
-
-
Constructor Detail
-
Completed
public Completed(Object result, UserVariables userVariables)
Create a new interceptor invocation completed result.- Parameters:
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.
-
-
Method Detail
-
getResult
public Object getResult()
Get the output object produced by the interceptor.- Returns:
- the output object produced by the interceptor. Will be
null
if the original input object wasnull
.
-
getUserVariables
public UserVariables getUserVariables()
Get the set of user variables stored in the interceptor invocation context after the interceptor has completed.- Returns:
- the user variables.
-
-