public class NotPermittedLink extends UnresolvedLink
To the user, a not permitted link is indistinguishable from an unresolved link. Hence the "is-a" relationship of not permitted link to unresolved link.
Not permitted links get their own representation because Confluence should be able to distinguish between the two.
| Constructor and Description |
|---|
NotPermittedLink(Link delegate) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
String |
getAnchor() |
LinkBody<?> |
getBody() |
Link |
getDelegate() |
ResourceIdentifier |
getDestinationResourceIdentifier() |
String |
getTooltip() |
int |
hashCode() |
Link |
updateDestination(ResourceIdentifier destination)
Returns a new instance of this link with an updated destination.
|
public NotPermittedLink(Link delegate)
public Link getDelegate()
public LinkBody<?> getBody()
public String getTooltip()
getTooltip in interface Linkpublic ResourceIdentifier getDestinationResourceIdentifier()
getDestinationResourceIdentifier in interface LinkResourceIdentifierpublic Link updateDestination(ResourceIdentifier destination)
LinkupdateDestination in interface Linkdestination - the updated destinationCopyright © 2003–2016 Atlassian. All rights reserved.