Constructor and Description |
---|
DefaultLink(ResourceIdentifier destinationResourceIdentifier,
LinkBody<?> body) |
DefaultLink(ResourceIdentifier destinationResourceIdentifier,
LinkBody<?> body,
String tooltip,
String anchor) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAnchor() |
LinkBody<?> |
getBody() |
ResourceIdentifier |
getDestinationResourceIdentifier() |
String |
getTooltip() |
int |
hashCode() |
String |
toString() |
Link |
updateDestination(ResourceIdentifier destination)
Returns a new instance of this link with an updated destination.
|
public DefaultLink(ResourceIdentifier destinationResourceIdentifier, LinkBody<?> body)
public DefaultLink(ResourceIdentifier destinationResourceIdentifier, LinkBody<?> body, String tooltip, String anchor)
public ResourceIdentifier getDestinationResourceIdentifier()
getDestinationResourceIdentifier
in interface Link
ResourceIdentifier
public LinkBody<?> getBody()
public String getTooltip()
getTooltip
in interface Link
public Link updateDestination(ResourceIdentifier destination)
updateDestination
in interface Link
destination
- the updated destinationCopyright © 2003–2016 Atlassian. All rights reserved.