Class MarkList.Builder

  • Enclosing class:
    MarkList

    public static final class MarkList.Builder
    extends java.lang.Object
    • Constructor Detail

      • Builder

        public Builder()
    • Method Detail

      • setMarks

        public MarkList.Builder setMarks​(java.util.List<Mark> marks)
        Sets the marks for this MarkList builder.
        Parameters:
        marks - the marks to set.
        Returns:
        this
        Throws:
        java.lang.NullPointerException - if any element in this list is null.
      • setThreadName

        public MarkList.Builder setThreadName​(java.lang.String threadName)
        Sets the thread name for this MarkList builder.
        Parameters:
        threadName - the Thread Name
        Returns:
        this
      • setThreadId

        public MarkList.Builder setThreadId​(long threadId)
        Sets the thread ID for this MarkList builder.
        Parameters:
        threadId - the Thread Id
        Returns:
        this
      • setMarkListId

        public MarkList.Builder setMarkListId​(long markListId)
        Sets the mark list ID for this MarkList builder.
        Parameters:
        markListId - the mark list ID
        Returns:
        this