View Javadoc
1   package com.atlassian.plugin;
2   
3   /**
4    * This represents the application that uses the plugin system.
5    *
6    * @since 3.0
7    */
8   public interface Application {
9       /**
10       * The application key, e.g. confluence or jira or fisheye, etc.
11       *
12       * @return an application key
13       */
14      String getKey();
15  
16      /**
17       * The version of the application, as a string. This is for example, 2.1, 3.0.1-beta1, etc.
18       *
19       * @return the version
20       */
21      String getVersion();
22  
23      /**
24       * The build number of the application, as a string. This build number is parseable as an integer.
25       * So doing {@code Integer.parseInt(getBuildNumber())} should not thrown any exception.
26       *
27       * @return the build number
28       */
29      String getBuildNumber();
30  }