Package io.manebot.platform
Interface PlatformRegistration
-
public interface PlatformRegistration
-
-
Method Summary
Modifier and Type Method Description PlatformConnection
getConnection()
Gets the platform connection associated with this registration.java.lang.String
getName()
Gets the name of this registration.Platform
getPlatform()
Gets the platform associated with this runtime registration.Plugin
getPlugin()
Gets the plugin associated with the ownership of this platform.
-
-
-
Method Detail
-
getName
java.lang.String getName()
Gets the name of this registration.- Returns:
- name.
-
getConnection
PlatformConnection getConnection()
Gets the platform connection associated with this registration.- Returns:
- Connection.
-
getPlatform
Platform getPlatform()
Gets the platform associated with this runtime registration.- Returns:
- Platform instance.
-
getPlugin
Plugin getPlugin()
Gets the plugin associated with the ownership of this platform. May be null.- Returns:
- Plugin instance.
-
-