Module org.junit.jupiter.engine
Class InvocationInterceptorChain.InterceptedInvocation<T>
java.lang.Object
org.junit.jupiter.engine.execution.InvocationInterceptorChain.InterceptedInvocation<T>
- All Implemented Interfaces:
InvocationInterceptor.Invocation<T>
- Enclosing class:
InvocationInterceptorChain
private static class InvocationInterceptorChain.InterceptedInvocation<T>
extends Object
implements InvocationInterceptor.Invocation<T>
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final InvocationInterceptorChain.InterceptorCall<T> private final InvocationInterceptorprivate final InvocationInterceptor.Invocation<T> -
Constructor Summary
ConstructorsConstructorDescriptionInterceptedInvocation(InvocationInterceptor.Invocation<T> invocation, InvocationInterceptorChain.InterceptorCall<T> call, InvocationInterceptor interceptor) -
Method Summary
-
Field Details
-
invocation
-
call
-
interceptor
-
-
Constructor Details
-
InterceptedInvocation
InterceptedInvocation(InvocationInterceptor.Invocation<T> invocation, InvocationInterceptorChain.InterceptorCall<T> call, InvocationInterceptor interceptor)
-
-
Method Details
-
proceed
Description copied from interface:InvocationInterceptor.InvocationProceed with this invocation.- Specified by:
proceedin interfaceInvocationInterceptor.Invocation<T>- Returns:
- the result of this invocation; potentially
null. - Throws:
Throwable- in case the invocation failed
-
skip
public void skip()Description copied from interface:InvocationInterceptor.InvocationExplicitly skip this invocation.This allows to bypass the check that
InvocationInterceptor.Invocation.proceed()must be called at least once. The default implementation does nothing.- Specified by:
skipin interfaceInvocationInterceptor.Invocation<T>
-