Class 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 the PluginSwitch implementation itself).
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • DefaultPluginSwitch

        DefaultPluginSwitch()
    • 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 the PluginSwitch implementation itself). If no custom plugins are discovered this method is not invoked.
        Specified by:
        isEnabled in interface PluginSwitch