View Javadoc
1   package com.atlassian.plugin.refimpl.tenant;
2   
3   import com.atlassian.tenancy.api.Tenant;
4   
5   /**
6    * This is a simple implementation of the Tenant, as part of the Tenancy API.
7    */
8   public class RefappTenant implements Tenant {
9       private String tenantId;
10  
11      public RefappTenant(String tenantId) {
12          this.tenantId = tenantId;
13      }
14  
15      protected String getTenantID() {
16          return tenantId;
17      }
18  
19      @Override
20      public String name() {
21          return "RefApp tenant";
22      }
23  }