Package com.atlassian.plugin
Interface Application
public interface Application
This represents the application that uses the plugin system.
- Since:
- 3.0
-
Method Summary
Modifier and TypeMethodDescriptionThe build number of the application, as a string.getKey()The application key, e.g.The version of the application, as a string.
-
Method Details
-
getKey
String getKey()The application key, e.g. confluence or jira or fisheye, etc.- Returns:
- an application key
-
getVersion
String getVersion()The version of the application, as a string. This is for example, 2.1, 3.0.1-beta1, etc.- Returns:
- the version
-
getBuildNumber
String getBuildNumber()The build number of the application, as a string. This build number is parseable as an integer. So doingInteger.parseInt(getBuildNumber())should not thrown any exception.- Returns:
- the build number
-