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 booleanisEnabled(java.lang.String pluginClassName)Mockito invokes this method for every plugin found in the classpath (except from thePluginSwitchimplementation itself).
-
-
-
Method Detail
-
isEnabled
public boolean isEnabled(java.lang.String pluginClassName)
Description copied from interface:PluginSwitchMockito invokes this method for every plugin found in the classpath (except from thePluginSwitchimplementation itself). If no custom plugins are discovered this method is not invoked.- Specified by:
isEnabledin interfacePluginSwitch
-
-