Package io.manebot.plugin
Interface PluginProperty
-
- All Known Implementing Classes:
PluginProperty
public interface PluginPropertyA simple property storage system for plugins. This is used mainly to store auth keys, global params, etc.
-
-
Method Summary
Modifier and Type Method Description java.lang.StringgetName()Gets the unique name of this property.default PlugingetPlugin()Gets the plugin instance associated with this property.PluginRegistrationgetPluginRegistration()Gets the plugin registration associated with this property.java.lang.StringgetValue()Gets the user-assigned value of this property.
-
-
-
Method Detail
-
getPlugin
default Plugin getPlugin()
Gets the plugin instance associated with this property.
-
getPluginRegistration
PluginRegistration getPluginRegistration()
Gets the plugin registration associated with this property.
-
getName
java.lang.String getName()
Gets the unique name of this property.- Returns:
- name of the property.
-
getValue
java.lang.String getValue()
Gets the user-assigned value of this property.- Returns:
- user assigned value, null if not defined.
-
-