Interface PluginManager


  • public interface PluginManager
    Platform plugin manager.
    • Method Detail

      • getPlugins

        @NotNull
        @NotNull Collection<PlatformPlugin> getPlugins()
        Get platform plugins.
        Returns:
        set of platform plugins.
      • getPlugin

        @NotNull
        @NotNull Optional<PlatformPlugin> getPlugin​(@NotNull
                                                    @NotNull String name)
        Attempt to find a platform plugin by name.
        Parameters:
        name - The name to search for.
        Returns:
        an optional containing the platform plugin, if found, otherwise an empty optional.
      • isPluginEnabled

        boolean isPluginEnabled​(@NotNull
                                @NotNull String name)
        Check if a platform plugin is enabled, by name.
        Parameters:
        name - The name to search for.
        Returns:
        true if the platform plugin was found and if it's enabled, otherwise false.