Class LinkChangeEvent

Object
JiraChangeEvent
LinkChangeEvent

public class LinkChangeEvent extends JiraChangeEvent
This event is dispatched when an operation on links is detected - creation of a new link, or removal of existing link.
  • Constructor Details

    • LinkChangeEvent

      public LinkChangeEvent(@NotNull JiraChangeType changeType, long linkTypeId, long sourceId, long destinationId)
  • Method Details

    • getLinkTypeId

      public long getLinkTypeId()
    • getSourceId

      public long getSourceId()
    • getDestinationId

      public long getDestinationId()
    • getAffectedIssuesSorted

      public LongList getAffectedIssuesSorted()
      Overrides:
      getAffectedIssuesSorted in class JiraChangeEvent
      Returns:
      sorted list of IDs of the issues affected by this change
    • toString

      public String toString()
      Overrides:
      toString in class JiraChangeEvent
    • getSourceId

      public static long getSourceId(JiraChangeEvent event)
    • getDestinationId

      public static long getDestinationId(JiraChangeEvent event)
    • getLinkTypeId

      public static long getLinkTypeId(JiraChangeEvent event)