Package cz.metacentrum.perun.core.impl
Class PerunAppsConfig
java.lang.Object
cz.metacentrum.perun.core.impl.PerunAppsConfig
Class holding configuration of perun apps brandings and apps' domains.
- Author:
- Vojtech Sassmann <vojtech.sassmann@gmail.com>
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic class
Class holding data for a single branding.static class
Class holding domains of new gui applications. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic PerunAppsConfig.Brand
getBrandContainingDomain
(String domain) Returns configuration's brand in which the provided domain is specifiedstatic PerunAppsConfig
void
setBrands
(List<PerunAppsConfig.Brand> brands) static void
setInstance
(PerunAppsConfig instance) toString()
-
Constructor Details
-
PerunAppsConfig
public PerunAppsConfig()
-
-
Method Details
-
getInstance
-
setInstance
-
getBrands
-
setBrands
-
getBrandContainingDomain
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
-