Class Tenant
- java.lang.Object
-
- io.wcm.devops.conga.model.shared.AbstractModel
-
- io.wcm.devops.conga.model.shared.AbstractConfigurable
-
- io.wcm.devops.conga.model.environment.Tenant
-
- All Implemented Interfaces:
Configurable
,Serializable
public final class Tenant extends AbstractConfigurable
Defines a tenant for configuration files that have tenant-specific system configurations. E.g. vhosts files for Apache Webserver.- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description Tenant()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<String>
getRoles()
Defines tenant roles.String
getTenant()
Defines tenant name.void
setRoles(List<String> roles)
void
setTenant(String tenant)
-
Methods inherited from class io.wcm.devops.conga.model.shared.AbstractConfigurable
getConfig, setConfig
-
Methods inherited from class io.wcm.devops.conga.model.shared.AbstractModel
toString
-
-
-
-
Method Detail
-
getTenant
public String getTenant()
Defines tenant name.- Returns:
- Tenant name
-
setTenant
public void setTenant(String tenant)
-
getRoles
public List<String> getRoles()
Defines tenant roles. These roles are different form node roles. They can be used within the templates or by multiply plugins to filter the list of tenants by their roles.- Returns:
- List of tenant role names
-
-