Package org.junit.platform.launcher.core
Class ClasspathAlignmentCheckingLauncherInterceptor
- java.lang.Object
-
- org.junit.platform.launcher.core.ClasspathAlignmentCheckingLauncherInterceptor
-
- All Implemented Interfaces:
LauncherInterceptor
class ClasspathAlignmentCheckingLauncherInterceptor extends java.lang.Object implements LauncherInterceptor
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.junit.platform.launcher.LauncherInterceptor
LauncherInterceptor.Invocation<T>
-
-
Field Summary
Fields Modifier and Type Field Description (package private) static LauncherInterceptorINSTANCE
-
Constructor Summary
Constructors Constructor Description ClasspathAlignmentCheckingLauncherInterceptor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()Closes this interceptor.<T> Tintercept(LauncherInterceptor.Invocation<T> invocation)Intercept the supplied invocation.
-
-
-
Field Detail
-
INSTANCE
static final LauncherInterceptor INSTANCE
-
-
Method Detail
-
intercept
public <T> T intercept(LauncherInterceptor.Invocation<T> invocation)
Description copied from interface:LauncherInterceptorIntercept the supplied invocation.Implementations must call
LauncherInterceptor.Invocation.proceed()exactly once.- Specified by:
interceptin interfaceLauncherInterceptor- Parameters:
invocation- the intercepted invocation; nevernull- Returns:
- the result of the invocation
-
close
public void close()
Description copied from interface:LauncherInterceptorCloses this interceptor.Any resources held by this interceptor should be released by this method.
- Specified by:
closein interfaceLauncherInterceptor
-
-