Constructor and Description |
---|
CreatePageLink(Link delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
String |
getAnchor() |
LinkBody<?> |
getBody() |
Link |
getDelegate() |
ResourceIdentifier |
getDestinationResourceIdentifier() |
Optional<String> |
getTarget()
Returns the target attribute for the link.
|
String |
getTooltip() |
int |
hashCode() |
String |
toString() |
Link |
updateDestination(ResourceIdentifier destination)
Returns a new instance of this link with an updated destination.
|
public CreatePageLink(Link delegate)
delegate
- IllegalArgumentException
- if the supplied delegate does not specify a destination resource identifierpublic Link getDelegate()
public LinkBody<?> getBody()
public String getTooltip()
getTooltip
in interface Link
public ResourceIdentifier getDestinationResourceIdentifier()
getDestinationResourceIdentifier
in interface Link
ResourceIdentifier
public Link updateDestination(ResourceIdentifier destination)
Link
updateDestination
in interface Link
destination
- the updated destinationpublic Optional<String> getTarget()
Link
Copyright © 2003–2018 Atlassian. All rights reserved.