| Modifier and Type | Method and Description |
|---|---|
static Link |
add(URI uri)
Creates a link using the given URI builder to build the URI.
|
static Link |
delete(URI uri)
Creates a link using the given URI builder to build the URI.
|
static Link |
edit(URI uri)
Creates a link using the given URI builder to build the URI.
|
boolean |
equals(Object obj) |
URI |
getHref() |
String |
getRel() |
int |
hashCode() |
static Link |
link(URI uri,
String rel)
Creates a link using the specified uri and rel values
|
static Link |
link(URI uri,
String rel,
String type)
Creates a link using the given URI builder to build the URI.
|
static Link |
self(URI uri)
Creates a link using the given URI builder to build the URI.
|
String |
toString() |
public static Link link(URI uri, String rel)
uri - the URI to use for the link URI,rel - the rel attribute of the link.public static Link link(URI uri, String rel, String type)
uri - the URI to use for the link URI,rel - the rel attribute of the link.type - the type attribute of the link.public static Link self(URI uri)
rel attribute of the link is set to self.uri - the URI to use for the link URI.public static Link edit(URI uri)
rel attribute of the link is set to edit.uri - the URI to use for the link URI.public static Link add(URI uri)
rel attribute of the link is set to add.uri - the URI to use for the link URI.public static Link delete(URI uri)
rel attribute of the link is set to delete.uri - the URI to use for the link URI.public URI getHref()
public String getRel()
Copyright © 2017 Atlassian. All rights reserved.