Interface TeamSourceContextWrapper.WorkerEnvironment
-
- Enclosing class:
- TeamSourceContextWrapper
- Functional Interface:
- This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.
@FunctionalInterface public static interface TeamSourceContextWrapper.WorkerEnvironment
- Author:
- Daniel Sagenschneider
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Runnable
createWorkerEnvironment(java.lang.Runnable worker)
Creates aRunnable
to specify the environment around the workerRunnable
for aThread
.
-
-
-
Method Detail
-
createWorkerEnvironment
java.lang.Runnable createWorkerEnvironment(java.lang.Runnable worker)
Creates aRunnable
to specify the environment around the workerRunnable
for aThread
.- Parameters:
worker
-Runnable
containing the worker logic.- Returns:
Runnable
wrapping theRunnable
providing the environment for the worker.
-
-