public class DefaultLinkBuilder extends Object
Modifier and Type | Method and Description |
---|---|
DefaultLink |
build()
Builds a default link using supplied properties.
|
Optional<String> |
getAnchor() |
Optional<LinkBody<?>> |
getBody() |
Optional<ResourceIdentifier> |
getDestinationResourceIdentifier() |
Optional<String> |
getTarget() |
Optional<String> |
getTooltip() |
DefaultLinkBuilder |
withAnchor(Optional<String> anchor) |
DefaultLinkBuilder |
withAnchor(String anchor) |
DefaultLinkBuilder |
withBody(LinkBody<?> body) |
DefaultLinkBuilder |
withBody(Optional<LinkBody<?>> body) |
DefaultLinkBuilder |
withDestinationResourceIdentifier(Optional<ResourceIdentifier> destinationResourceIdentifier) |
DefaultLinkBuilder |
withDestinationResourceIdentifier(ResourceIdentifier destinationResourceIdentifier) |
DefaultLinkBuilder |
withTarget(Optional<String> target) |
DefaultLinkBuilder |
withTarget(String target) |
DefaultLinkBuilder |
withTooltip(Optional<String> tooltip) |
DefaultLinkBuilder |
withTooltip(String tooltip) |
public DefaultLink build()
public DefaultLinkBuilder withDestinationResourceIdentifier(Optional<ResourceIdentifier> destinationResourceIdentifier)
public DefaultLinkBuilder withDestinationResourceIdentifier(ResourceIdentifier destinationResourceIdentifier)
public DefaultLinkBuilder withBody(Optional<LinkBody<?>> body)
public DefaultLinkBuilder withBody(LinkBody<?> body)
public DefaultLinkBuilder withTooltip(Optional<String> tooltip)
public DefaultLinkBuilder withTooltip(String tooltip)
public DefaultLinkBuilder withAnchor(Optional<String> anchor)
public DefaultLinkBuilder withAnchor(String anchor)
public DefaultLinkBuilder withTarget(Optional<String> target)
public DefaultLinkBuilder withTarget(String target)
public Optional<ResourceIdentifier> getDestinationResourceIdentifier()
Copyright © 2003–2017 Atlassian. All rights reserved.