Class InboxOwner

java.lang.Object
com.plotsquared.core.plot.comment.CommentInbox
com.plotsquared.core.plot.comment.InboxOwner

public class InboxOwner extends CommentInbox
  • Constructor Details

    • InboxOwner

      public InboxOwner()
  • Method Details

    • getComments

      public boolean getComments(Plot plot, RunnableVal<List<PlotComment>> whenDone)
      Description copied from class: CommentInbox

      The `whenDone` parameter should be executed when it's done fetching the comments. The value should be set to List of comments
      Specified by:
      getComments in class CommentInbox
      Parameters:
      plot - plot
      whenDone - task to run when comments are obtained
      Returns:
      success or not
    • addComment

      public boolean addComment(Plot plot, PlotComment comment)
      Specified by:
      addComment in class CommentInbox
      Parameters:
      plot - plot
      comment - the comment to add
      Returns:
      success or not
    • toString

      public String toString()
      Specified by:
      toString in class CommentInbox