Class CommentBean

java.lang.Object
com.codebarrel.jira.model.issue.CommentBean
All Implemented Interfaces:
InputRenderable
Direct Known Subclasses:
SmartCommentBean

public class CommentBean extends Object implements InputRenderable
  • Constructor Details

  • Method Details

    • getSelf

      public String getSelf()
    • getId

      public Long getId()
    • getAuthor

      @Nullable public UserBean getAuthor()
    • getBody

      public Object getBody()
    • getRenderedBody

      public String getRenderedBody()
    • getUpdateAuthor

      public UserBean getUpdateAuthor()
    • getCreated

      public Date getCreated()
    • getUpdated

      public Date getUpdated()
    • getVisibility

      public Visibility getVisibility()
    • toRenderedString

      public String toRenderedString()
      Specified by:
      toRenderedString in interface InputRenderable
    • getIssueIdFromSelfLink

      public Optional<String> getIssueIdFromSelfLink()
      A massive hack to get around the fact that Jira doesn't return any issue information with the comment. This will be empty for server
    • toString

      public String toString()
      Overrides:
      toString in class Object