Interface PluginProvider

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      java.lang.String getCode()
      A unique shortcode used for referencing the provided provider.
      MorpheusContext getMorpheus()
      Returns the Morpheus Context for interacting with data stored in the Main Morpheus Application
      java.lang.String getName()
      Provides the provider name for reference when adding to the Morpheus Orchestrator NOTE: This may be useful to set as an i18n key for UI reference and localization support.
      Plugin getPlugin()
      Returns the instance of the Plugin class that this provider is loaded from
      default boolean isPlugin()
      Returns true if the Provider is a plugin.
    • Method Detail

      • getMorpheus

        MorpheusContext getMorpheus()
        Returns the Morpheus Context for interacting with data stored in the Main Morpheus Application
        Returns:
        an implementation of the MorpheusContext for running Future based rxJava queries
      • getPlugin

        Plugin getPlugin()
        Returns the instance of the Plugin class that this provider is loaded from
        Returns:
        Plugin class contains references to other providers
      • getCode

        java.lang.String getCode()
        A unique shortcode used for referencing the provided provider. Make sure this is going to be unique as any data that is seeded or generated related to this provider will reference it by this code.
        Returns:
        short code string that should be unique across all other plugin implementations.
      • getName

        java.lang.String getName()
        Provides the provider name for reference when adding to the Morpheus Orchestrator NOTE: This may be useful to set as an i18n key for UI reference and localization support.
        Returns:
        either an English name of a Provider or an i18n based key that can be scanned for in a properties file.
      • isPlugin

        default boolean isPlugin()
        Returns true if the Provider is a plugin. Always true for plugin but null or false for Morpheus internal providers.
        Returns:
        provider is plugin