Class FeatureDiscoveryData.Link
java.lang.Object
com.atlassian.bamboo.feature.discovery.FeatureDiscoveryData.Link
- Enclosing class:
- FeatureDiscoveryData
-
Constructor Summary
ConstructorsConstructorDescriptionLink
(@NotNull FeatureDiscoveryData.LinkType type, @NotNull String url, @Nullable FeatureDiscoveryData.Condition condition) -
Method Summary
Modifier and TypeMethodDescription@Nullable FeatureDiscoveryData.Condition
A condition which must be met to display this link.@NotNull FeatureDiscoveryData.LinkType
getType()
Type of the link.@NotNull String
getUrl()
URL of the link.
-
Constructor Details
-
Link
public Link(@NotNull @NotNull FeatureDiscoveryData.LinkType type, @NotNull @NotNull String url, @Nullable @Nullable FeatureDiscoveryData.Condition condition)
-
-
Method Details
-
getType
Type of the link. -
getUrl
URL of the link. Must be one of the following:- an absolute URL to an external page
- a relative URL to a Bamboo page
- a key of a documentation page which will form a valid URL through
DocumentationLinkProvider
Examples:
- https://docs.atlassian.com/bamboo-specs-docs/
- /admin/viewSystemNotifications.action
- plan.triggers.howtheywork
-
getCondition
A condition which must be met to display this link.
-