Class IssueMention


  • public class IssueMention
    extends java.lang.Object
    Represents the mention of the issue in a comment.

    The minimal data needed by server to render a mention correctly is the id and issue URL (the URL may be null for non-web issue trackers).

    Since:
    5.0
    Author:
    Maxim Podkolzine (maxim.podkolzine@jetbrains.com)
    • Constructor Summary

      Constructors 
      Constructor Description
      IssueMention​(java.lang.String id, java.lang.String url)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean equals​(java.lang.Object o)  
      java.lang.String getId()  
      java.lang.String getUrl()  
      int hashCode()  
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        clone, finalize, getClass, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • IssueMention

        public IssueMention​(@NotNull
                            java.lang.String id,
                            @Nullable
                            java.lang.String url)
    • Method Detail

      • getId

        @NotNull
        public java.lang.String getId()
      • getUrl

        @Nullable
        public java.lang.String getUrl()
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object