Class AtlassianServerCapabilities
java.lang.Object
com.atlassian.bitbucket.jenkins.internal.model.AtlassianServerCapabilities
Capabilities as advertised by Atlassian products.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionAtlassianServerCapabilities(String application, Map<String, String> capabilities) -
Method Summary
Modifier and TypeMethodDescriptionReturn the application type as provided by the remote side.boolean
-
Field Details
-
WEBHOOK_CAPABILITY_KEY
- See Also:
-
RICH_BUILDSTATUS_CAPABILITY_KEY
- See Also:
-
DEPLOYMENTS_CAPABILITY_KEY
- See Also:
-
-
Constructor Details
-
AtlassianServerCapabilities
-
-
Method Details
-
getApplication
Return the application type as provided by the remote side.- Returns:
- the application type, or null if it was not part of the response
-
isBitbucketServer
public boolean isBitbucketServer()- Returns:
- true if the server claims to be a Bitbucket server instance. False if the application type was not provided or if it is some other Atlassian server
-
getCapabilities
-