Class GHIssueBuilder

java.lang.Object
org.kohsuke.github.GHIssueBuilder

public class GHIssueBuilder extends Object
The type GHIssueBuilder.
Author:
Kohsuke Kawaguchi
  • Method Details

    • body

      public GHIssueBuilder body(String str)
      Sets the main text of an issue, which is arbitrary multi-line text.
      Parameters:
      str - the str
      Returns:
      the gh issue builder
    • assignee

      public GHIssueBuilder assignee(GHUser user)
      Assignee gh issue builder.
      Parameters:
      user - the user
      Returns:
      the gh issue builder
    • assignee

      public GHIssueBuilder assignee(String user)
      Assignee gh issue builder.
      Parameters:
      user - the user
      Returns:
      the gh issue builder
    • milestone

      public GHIssueBuilder milestone(GHMilestone milestone)
      Milestone gh issue builder.
      Parameters:
      milestone - the milestone
      Returns:
      the gh issue builder
    • label

      public GHIssueBuilder label(String label)
      Label gh issue builder.
      Parameters:
      label - the label
      Returns:
      the gh issue builder
    • create

      public GHIssue create() throws IOException
      Creates a new issue.
      Returns:
      the gh issue
      Throws:
      IOException - the io exception