Interface PluginProperty

  • All Known Implementing Classes:
    PluginProperty

    public interface PluginProperty
    A 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.String getName()
      Gets the unique name of this property.
      default Plugin getPlugin()
      Gets the plugin instance associated with this property.
      PluginRegistration getPluginRegistration()
      Gets the plugin registration associated with this property.
      java.lang.String getValue()
      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.