com.atlassian.jira.entity.remotelink.RemoteEntityLink<E> |
Known Indirect Subclasses |
@Internal
or @PublicApi
.
Common abstract class for remote entity links.
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | GLOBAL_ID | The name of the JSON object field that may be used to suggest the global ID to use when creating a remote entity link. |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the application name for the remote entity link, as extracted from the raw JSON.
| |||||||||||
Returns the application type for the remote entity link, as extracted from the raw JSON.
| |||||||||||
Returns the local entity to which the remote entity link is associated.
| |||||||||||
Returns the entity ID for the local entity to which the remote entity link is associated.
| |||||||||||
Returns the global ID for the remote entity link.
| |||||||||||
Returns the target object icon title for the remote entity link, as extracted from the raw JSON.
| |||||||||||
Returns the target object icon URL for the remote entity link, as extracted from the raw JSON.
| |||||||||||
Returns the raw JSON value stored for this remote entity link.
| |||||||||||
Returns the target object summary for the remote entity link, as extracted from the raw JSON.
| |||||||||||
Returns the target object title for the remote entity link, as extracted from the raw JSON.
| |||||||||||
Returns the target object URL for the remote entity link, as extracted from the raw JSON.
|
The name of the JSON object field that may be used to suggest the global ID to use when creating a remote entity link. The services that create remote entity links accept a global ID and the raw JSON value meaningful to the link service. If the global ID is not specified directly but the JSON value is an object containing a text field by this name ("{@value }"), that value is used as the global ID. If neither method of supplying the global ID is used, then a random global ID will be generated for the link, instead.
See RemoteVersionLinkService
for an example of this.
Returns the application name for the remote entity link, as extracted from the raw JSON.
null
if it is not defined
Returns the application type for the remote entity link, as extracted from the raw JSON.
null
if it is not defined
Returns the local entity to which the remote entity link is associated. For example, if this is a
RemoteVersionLink
, then
this will return a Version
.
Returns the entity ID for the local entity to which the remote entity link is associated. For example,
if this is a RemoteVersionLink
,
then this will be a version ID
.
Returns the global ID for the remote entity link.
Returns the target object icon title for the remote entity link, as extracted from the raw JSON.
null
if it is not defined
Returns the target object icon URL for the remote entity link, as extracted from the raw JSON.
null
if it is not defined
Returns the raw JSON value stored for this remote entity link.
Returns the target object summary for the remote entity link, as extracted from the raw JSON.
null
if it is not defined
Returns the target object title for the remote entity link, as extracted from the raw JSON.
null
if it is not defined
Returns the target object URL for the remote entity link, as extracted from the raw JSON.
null
if it is not defined