View Javadoc

1   package com.atlassian.marketplace.client.api;
2   
3   /**
4    * Constants representing preset sizes for images.
5    * @since 2.0.0
6    */
7   public enum ImagePurpose implements EnumWithKey
8   {
9       LOGO ("logo"),
10      BANNER ("banner"),
11      SCREENSHOT ("screenshot"),
12      THUMBNAIL ("screenshot-thumbnail"),
13      TITLE_LOGO ("title-logo"),
14      HERO ("hero");
15      
16      private final String key;
17      
18      private ImagePurpose(String key)
19      {
20          this.key = key;
21      }
22      
23      @Override
24      public String getKey()
25      {
26          return key;
27      }
28  }