Class PerunAppsConfig

java.lang.Object
cz.metacentrum.perun.core.impl.PerunAppsConfig

public class PerunAppsConfig extends Object
Class holding configuration of perun apps brandings and apps' domains.
Author:
Vojtech Sassmann
  • Constructor Details

    • PerunAppsConfig

      public PerunAppsConfig()
  • Method Details

    • getInstance

      public static PerunAppsConfig getInstance()
    • setInstance

      public static void setInstance(PerunAppsConfig instance)
    • getBrands

      public List<PerunAppsConfig.Brand> getBrands()
    • setBrands

      public void setBrands(List<PerunAppsConfig.Brand> brands)
    • getBrandContainingDomain

      public static PerunAppsConfig.Brand getBrandContainingDomain(String domain)
      Returns configuration's brand in which the provided domain is specified
      Parameters:
      domain - Example: https://perun-dev.cz
      Returns:
      brand or null if domain is not present in the configuration
    • toString

      public String toString()
      Overrides:
      toString in class Object