Class ApplicationLink
- java.lang.Object
-
- com.atlassian.bamboo.specs.api.builders.EntityPropertiesBuilder<ApplicationLinkProperties>
-
- com.atlassian.bamboo.specs.api.builders.applink.ApplicationLink
-
public class ApplicationLink extends EntityPropertiesBuilder<ApplicationLinkProperties>
Represents application link between Bamboo and another application, for instance Bitbucket Server.
-
-
Constructor Summary
Constructors Constructor Description ApplicationLink()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ApplicationLinkPropertiesbuild()ApplicationLinkid(@NotNull java.lang.String id)Link to an application by its application id.ApplicationLinkname(@NotNull java.lang.String name)Link to an application by name.
-
-
-
Method Detail
-
name
public ApplicationLink name(@NotNull @NotNull java.lang.String name)
Link to an application by name.- Parameters:
name- name of the application, as shown in Bamboo "Application links" page
-
id
public ApplicationLink id(@NotNull @NotNull java.lang.String id)
Link to an application by its application id.Id of the application can be found in application manifest, available at <application_url>/rest/applinks/latest/manifest.
- Parameters:
id- of the application
-
build
protected ApplicationLinkProperties build()
- Specified by:
buildin classEntityPropertiesBuilder<ApplicationLinkProperties>
-
-