public class CreatePageLink
extends java.lang.Object
Constructor and Description |
---|
CreatePageLink(Link delegate) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
java.lang.String |
getAnchor() |
LinkBody<?> |
getBody() |
Link |
getDelegate() |
ResourceIdentifier |
getDestinationResourceIdentifier() |
java.lang.String |
getTooltip() |
int |
hashCode() |
Link |
updateDestination(ResourceIdentifier destination)
Returns a new instance of this link with an updated destination.
|
public CreatePageLink(Link delegate)
delegate
- java.lang.IllegalArgumentException
- if the supplied delegate does not specify a destination resource identifierpublic Link getDelegate()
public LinkBody<?> getBody()
public java.lang.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 java.lang.String getAnchor()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
Copyright © 2003-2014 Atlassian. All Rights Reserved.