View Javadoc

1   package com.atlassian.marketplace.client.api;
2   
3   /**
4    * Represents the available hosting models for Atlassian applications.
5    * @since 2.0.0
6    */
7   public enum HostingType implements EnumWithKey
8   {
9       SERVER("server"),
10      
11      DATA_CENTER("datacenter"),
12      
13      CLOUD("cloud");
14      
15      private final String key;
16      
17      private HostingType(String key)
18      {
19          this.key = key;
20      }
21      
22      @Override
23      public String getKey()
24      {
25          return key;
26      }
27  }