Class Link
java.lang.Object
com.atlassian.confluence.plugins.rest.jackson2.entities.Link
- Since:
- 10.0
-
Method Summary
Modifier and TypeMethodDescriptionstatic LinkCreates a link using the given URI builder to build the URI.static LinkCreates a link using the given URI builder to build the URI.static LinkCreates a link using the given URI builder to build the URI.booleangetHref()getRel()inthashCode()static LinkCreates a link using the specified uri and rel valuesstatic LinkCreates a link using the given URI builder to build the URI.static LinkCreates a link using the given URI builder to build the URI.toString()
-
Method Details
-
link
Creates a link using the specified uri and rel values- Parameters:
uri- theURIto use for the link URI,rel- the rel attribute of the link.- Returns:
- a link
-
link
Creates a link using the given URI builder to build the URI.- Parameters:
uri- theURIto use for the link URI,rel- the rel attribute of the link.type- the type attribute of the link.- Returns:
- a link
-
self
Creates a link using the given URI builder to build the URI. Therelattribute of the link is set toself.- Parameters:
uri- theURIto use for the link URI.- Returns:
- a link
-
edit
Creates a link using the given URI builder to build the URI. Therelattribute of the link is set toedit.- Parameters:
uri- theURIto use for the link URI.- Returns:
- a link
-
add
Creates a link using the given URI builder to build the URI. Therelattribute of the link is set toadd.- Parameters:
uri- theURIto use for the link URI.- Returns:
- a link
-
delete
Creates a link using the given URI builder to build the URI. Therelattribute of the link is set todelete.- Parameters:
uri- theURIto use for the link URI.- Returns:
- a link
-
getHref
-
getRel
-
hashCode
public int hashCode() -
equals
-
toString
-