Class RemoteEntityLinkImpl<E>

java.lang.Object
com.atlassian.jira.entity.remotelink.RemoteEntityLinkImpl<E>
All Implemented Interfaces:
RemoteEntityLink<E>
Direct Known Subclasses:
RemoteVersionLinkImpl

public abstract class RemoteEntityLinkImpl<E> extends Object implements RemoteEntityLink<E>
Since:
v6.1
  • Field Details

  • Constructor Details

    • RemoteEntityLinkImpl

      protected RemoteEntityLinkImpl(@Nonnull String globalId, @Nonnull String json)
  • Method Details

    • getGlobalId

      @Nonnull public String getGlobalId()
      Description copied from interface: RemoteEntityLink
      Returns the global ID for the remote entity link.
      Specified by:
      getGlobalId in interface RemoteEntityLink<E>
      Returns:
      the global ID for the remote entity link.
    • getJsonString

      @Nonnull public String getJsonString()
      Description copied from interface: RemoteEntityLink
      Returns the raw JSON value stored for this remote entity link.
      Specified by:
      getJsonString in interface RemoteEntityLink<E>
      Returns:
      the raw JSON value stored for this remote entity link.
    • getTitle

      public String getTitle()
      Description copied from interface: RemoteEntityLink
      Returns the target object title for the remote entity link, as extracted from the raw JSON.
      Specified by:
      getTitle in interface RemoteEntityLink<E>
      Returns:
      the target object title for the remote entity link, or null if it is not defined
    • getSummary

      public String getSummary()
      Description copied from interface: RemoteEntityLink
      Returns the target object summary for the remote entity link, as extracted from the raw JSON.
      Specified by:
      getSummary in interface RemoteEntityLink<E>
      Returns:
      the target object summary for the remote entity link, or null if it is not defined
    • getUrl

      public String getUrl()
      Description copied from interface: RemoteEntityLink
      Returns the target object URL for the remote entity link, as extracted from the raw JSON.
      Specified by:
      getUrl in interface RemoteEntityLink<E>
      Returns:
      the target object URL for the remote entity link, or null if it is not defined
    • getIconUrl

      public String getIconUrl()
      Description copied from interface: RemoteEntityLink
      Returns the target object icon URL for the remote entity link, as extracted from the raw JSON.
      Specified by:
      getIconUrl in interface RemoteEntityLink<E>
      Returns:
      the target object icon URL for the remote entity link, or null if it is not defined
    • getIconTitle

      public String getIconTitle()
      Description copied from interface: RemoteEntityLink
      Returns the target object icon title for the remote entity link, as extracted from the raw JSON.
      Specified by:
      getIconTitle in interface RemoteEntityLink<E>
      Returns:
      the target object icon title for the remote entity link, or null if it is not defined
    • getApplicationName

      public String getApplicationName()
      Description copied from interface: RemoteEntityLink
      Returns the application name for the remote entity link, as extracted from the raw JSON.
      Specified by:
      getApplicationName in interface RemoteEntityLink<E>
      Returns:
      the application name for the remote entity link, or null if it is not defined
    • getApplicationType

      public String getApplicationType()
      Description copied from interface: RemoteEntityLink
      Returns the application type for the remote entity link, as extracted from the raw JSON.
      Specified by:
      getApplicationType in interface RemoteEntityLink<E>
      Returns:
      the application type for the remote entity link, or null if it is not defined
    • hashCode

      public abstract int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public abstract boolean equals(Object o)
      Overrides:
      equals in class Object