Interface BrandingRegistry


public interface BrandingRegistry
  • Method Details

    • getProductName

      String getProductName()
      This method returns the name portion of the name invalid input: '&' version of the product, as defined by the highest priority BrandingPlugin in the system.. E.g, if the full name is "DDF v1.0.0", this will return "DDF"
      Returns:
      a String representing the name of the product or in the case where the name cannot be found, the String "DDF"
    • getAttributeFromBranding

      String getAttributeFromBranding(BrandingRegistry.BrandingMethod supplier)
      This method takes in a BrandingPlugin method reference (a BrandingRegistry.BrandingMethod and calls it on the highest priority BrandingPlugin in the system.
      Returns:
      a String with the value of the BrandingPlugin's method call or if the method call cannot be evaluated, an empty String ""
    • getProductVersion

      String getProductVersion()
      This method returns the version number portion of the name invalid input: '&' version of the product, as defined by the highest priority BrandingPlugin in the system.. E.g, if the full name is "DDF v1.0.0", this will return "v1.0.0"
      Returns:
      a String representing the version number of the product or in the case where the version number cannot be found, an empty String ""
    • setBrandingPlugins

      void setBrandingPlugins(List<BrandingPlugin> brandingPlugins)
      Parameters:
      brandingPlugins - list of branding plugins associated with the system
    • getBrandingPlugins

      List<BrandingPlugin> getBrandingPlugins()
      Gets the List of BrandingPlugins from the BrandingRegistry
      Returns:
      the list of branding plugins associated with the system