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