Constructor and Description |
---|
DefaultLink(ResourceIdentifier destinationResourceIdentifier,
LinkBody<?> body) |
DefaultLink(ResourceIdentifier destinationResourceIdentifier,
LinkBody<?> body,
java.lang.String tooltip,
java.lang.String anchor) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAnchor() |
LinkBody<?> |
getBody() |
ResourceIdentifier |
getDestinationResourceIdentifier() |
java.lang.String |
getTooltip() |
int |
hashCode() |
java.lang.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, java.lang.String tooltip, java.lang.String anchor)
public ResourceIdentifier getDestinationResourceIdentifier()
getDestinationResourceIdentifier
in interface Link
ResourceIdentifier
public LinkBody<?> getBody()
public java.lang.String getTooltip()
getTooltip
in interface Link
public java.lang.String getAnchor()
public Link updateDestination(ResourceIdentifier destination)
updateDestination
in interface Link
destination
- the updated destinationpublic boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2003-2014 Atlassian. All Rights Reserved.