Class PluginDiscovery
java.lang.Object
com.zenith.plugin.PluginDiscovery
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final recordstatic interface -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic List<PluginDiscovery.DiscoveredPlugin> discover(Path pluginsPath, ClassLoader classpathLoader, String mcVersion, PluginDiscovery.PluginDiscoveryLogSink logSink) static List<PluginDiscovery.DiscoveredPlugin> discoverClasspath(ClassLoader classpathLoader, String mcVersion, PluginDiscovery.PluginDiscoveryLogSink logSink) static PluginInforeadInfo(InputStream stream)
-
Field Details
-
PLUGIN_INFO_FILE
- See Also:
-
LEGACY_PLUGIN_INFO_FILE
- See Also:
-
-
Method Details
-
discover
public static List<PluginDiscovery.DiscoveredPlugin> discover(Path pluginsPath, ClassLoader classpathLoader, String mcVersion, PluginDiscovery.PluginDiscoveryLogSink logSink) -
readInfo
-
discoverClasspath
public static List<PluginDiscovery.DiscoveredPlugin> discoverClasspath(ClassLoader classpathLoader, String mcVersion, PluginDiscovery.PluginDiscoveryLogSink logSink)
-