Class DefaultPluginSwitch
- java.lang.Object
-
- org.mockito.internal.configuration.plugins.DefaultPluginSwitch
-
- All Implemented Interfaces:
PluginSwitch
class DefaultPluginSwitch extends java.lang.Object implements PluginSwitch
-
-
Constructor Summary
Constructors Constructor Description DefaultPluginSwitch()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
isEnabled(java.lang.String pluginClassName)
Mockito invokes this method for every plugin found in the classpath (except from thePluginSwitch
implementation itself).
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled(java.lang.String pluginClassName)
Description copied from interface:PluginSwitch
Mockito invokes this method for every plugin found in the classpath (except from thePluginSwitch
implementation itself). If no custom plugins are discovered this method is not invoked.- Specified by:
isEnabled
in interfacePluginSwitch
-
-