Interface NoteBuilder


public interface NoteBuilder
Builder to create a Note.
Since:
12.0.0
API:
This is a public API.
  • Method Details

    • content

      NoteBuilder content(String content)
      Sets the content.
      Parameters:
      content - content
      Returns:
      fluent API to create a Note
      API:
      This public API is available in Java.
    • author

      NoteBuilder author(IUser author)
      Sets the author. If the author is not set the current user will be used.
      Parameters:
      author - author
      Returns:
      fluent API to create a Note
      API:
      This public API is available in Java.
    • execute

      Note execute()
      Returns a Note.
      Returns:
      new note
      API:
      This public API is available in Java.