Package org.apache.drill.exec.testing
Class ControlsInjectorFactory
java.lang.Object
org.apache.drill.exec.testing.ControlsInjectorFactory
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic ControlsInjector
getInjector
(Class<?> clazz) Returns anExecutionControlsInjector
if assertions are not enabled, orNoOpControlsInjector
otherwise.
-
Constructor Details
-
ControlsInjectorFactory
public ControlsInjectorFactory()
-
-
Method Details
-
getInjector
Returns anExecutionControlsInjector
if assertions are not enabled, orNoOpControlsInjector
otherwise.- Parameters:
clazz
- the owning class- Returns:
- the newly created injector
-