public class GHIssueBuilder extends Object
| Modifier and Type | Method and Description |
|---|---|
GHIssueBuilder |
assignee(GHUser user)
Assignee gh issue builder.
|
GHIssueBuilder |
assignee(String user)
Assignee gh issue builder.
|
GHIssueBuilder |
body(String str)
Sets the main text of an issue, which is arbitrary multi-line text.
|
GHIssue |
create()
Creates a new issue.
|
GHIssueBuilder |
label(String label)
Label gh issue builder.
|
GHIssueBuilder |
milestone(GHMilestone milestone)
Milestone gh issue builder.
|
public GHIssueBuilder body(String str)
str - the strpublic GHIssueBuilder assignee(GHUser user)
user - the userpublic GHIssueBuilder assignee(String user)
user - the userpublic GHIssueBuilder milestone(GHMilestone milestone)
milestone - the milestonepublic GHIssueBuilder label(String label)
label - the labelpublic GHIssue create() throws IOException
IOException - the io exceptionCopyright © 2020. All rights reserved.