Class FeatureDiscoveryData.Link
- java.lang.Object
-
- com.atlassian.bamboo.feature.discovery.FeatureDiscoveryData.Link
-
- Enclosing class:
- FeatureDiscoveryData
public static class FeatureDiscoveryData.Link extends Object
-
-
Constructor Summary
Constructors Constructor Description Link(@NotNull FeatureDiscoveryData.LinkType type, @NotNull String url, @Nullable FeatureDiscoveryData.Condition condition)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description @Nullable FeatureDiscoveryData.Condition
getCondition()
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 Detail
-
Link
public Link(@NotNull @NotNull FeatureDiscoveryData.LinkType type, @NotNull @NotNull String url, @Nullable @Nullable FeatureDiscoveryData.Condition condition)
-
-
Method Detail
-
getType
@NotNull public @NotNull FeatureDiscoveryData.LinkType getType()
Type of the link.
-
getUrl
@NotNull public @NotNull String 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
@Nullable public @Nullable FeatureDiscoveryData.Condition getCondition()
A condition which must be met to display this link.
-
-