| Package | Description |
|---|---|
| org.kohsuke.github |
| Modifier and Type | Class and Description |
|---|---|
class |
GHMyself
Represents the account that's logging into GitHub.
|
static class |
GHRepository.Contributor
The type Contributor.
|
| Modifier and Type | Field and Description |
|---|---|
protected GHUser |
GHIssue.assignee |
protected GHUser[] |
GHIssue.assignees |
protected GHUser |
GHIssue.closed_by |
protected GHUser |
GHDeploymentStatus.creator |
protected GHUser |
GHDeployment.creator |
protected GHUser |
GHIssue.user |
| Modifier and Type | Method and Description |
|---|---|
GHUser |
GHAppInstallation.getAccount()
Gets account.
|
GHUser |
GHEventInfo.getActor()
Gets actor.
|
GHUser |
GHIssueEvent.getActor()
Gets actor.
|
GHUser |
GHIssue.getAssignee()
Gets assignee.
|
GHUser |
GHCommit.getAuthor()
Gets author.
|
GHUser |
GHRepositoryStatistics.ContributorStats.getAuthor()
Gets author.
|
GHUser |
GHPullRequest.getClosedBy() |
GHUser |
GHIssue.getClosedBy()
Reports who has closed the issue.
|
GHUser |
GHCommit.getCommitter()
Gets committer.
|
GHUser |
GHDeployment.getCreator()
Gets creator.
|
GHUser |
GHMilestone.getCreator()
Gets creator.
|
GHUser |
GHProjectCard.getCreator()
Gets creator.
|
GHUser |
GHProject.getCreator()
Gets creator.
|
GHUser |
GHCommitStatus.getCreator()
Gets creator.
|
GHUser |
GHPullRequest.getMergedBy()
Gets merged by.
|
GHUser |
GHApp.getOwner()
Gets owner.
|
GHUser |
GHGist.getOwner()
Gets owner.
|
GHUser |
GHRepository.getOwner()
Gets owner.
|
GHUser |
GHEventPayload.getSender()
Gets the sender or
null if accessed via the events API. |
GHUser |
GHCommitPointer.getUser()
This points to the user who owns the
GHCommitPointer.getRepository(). |
GHUser |
GHMembership.getUser()
Gets user.
|
GHUser |
GHPullRequestReviewComment.getUser()
Gets the user who posted this comment.
|
GHUser |
GHIssueComment.getUser()
Gets the user who posted this comment.
|
GHUser |
GHPullRequestReview.getUser()
Gets the user who posted this review.
|
GHUser |
GHReaction.getUser()
Deprecated.
User who left the reaction.
|
GHUser |
GHCommitComment.getUser()
Gets the user who put this comment.
|
GHUser |
GHIssue.getUser()
User who submitted the issue.
|
GHUser |
GHStargazer.getUser()
Gets the user that starred the repository
|
protected GHUser |
GitHub.getUser(GHUser orig)
Interns the given
GHUser. |
GHUser |
GitHub.getUser(String login)
Obtains the object that represents the named user.
|
| Modifier and Type | Method and Description |
|---|---|
List<GHUser> |
GHIssue.getAssignees()
Gets assignees.
|
GHPersonSet<GHUser> |
GHRepository.getCollaborators()
Gets the collaborators on this repository.
|
GHPersonSet<GHUser> |
GHUser.getFollowers()
Lists the users who are following this user.
|
GHPersonSet<GHUser> |
GHUser.getFollows()
Lists the users that this user is following
|
List<GHUser> |
GHOrganization.getMembers()
Deprecated.
|
Set<GHUser> |
GHTeam.getMembers()
Gets members.
|
List<GHUser> |
GHPullRequest.getRequestedReviewers()
Gets requested reviewers.
|
Collection<GHUser> |
GHBranchProtection.Restrictions.getUsers()
Gets users.
|
PagedIterable<GHUser> |
GHRepository.listAssignees()
Lists all
the
available assignees to which issues may be assigned.
|
PagedIterable<GHUser> |
GHRepository.listCollaborators()
Lists up the collaborators on this repository.
|
PagedIterable<GHUser> |
GHUser.listFollowers()
Lists the users who are following this user.
|
PagedIterable<GHUser> |
GHUser.listFollows()
Lists the users that this user is following
|
PagedIterable<GHUser> |
GHOrganization.listMembers()
All the members of this organization.
|
PagedIterable<GHUser> |
GHTeam.listMembers()
Retrieves the current members.
|
PagedIterable<GHUser> |
GHOrganization.listMembersWithFilter(String filter)
List members with filter paged iterable.
|
PagedIterable<GHUser> |
GHOrganization.listPublicMembers()
All the public members of this organization.
|
PagedIterable<GHUser> |
GHRepository.listStargazers()
Lists all the users who have starred this repo based on the old version of the API.
|
PagedIterable<GHUser> |
GHRepository.listSubscribers()
Lists all the subscribers (aka watchers.)
|
PagedIterable<GHUser> |
GitHub.listUsers()
Returns a list of all users.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GHTeam.add(GHUser u)
Adds a member to the team.
|
void |
GHOrganization.add(GHUser user,
GHOrganization.Role role)
Adds (invites) a user to the organization.
|
void |
GHTeam.add(GHUser user,
GHTeam.Role role)
Adds a member to the team
|
void |
GHIssue.addAssignees(GHUser... assignees)
Add assignees.
|
void |
GHRepository.addCollaborators(GHUser... users)
Add collaborators.
|
GHIssueBuilder |
GHIssueBuilder.assignee(GHUser user)
Assignee gh issue builder.
|
void |
GHIssue.assignTo(GHUser user)
Assign to.
|
void |
GHOrganization.conceal(GHUser u)
Conceals the membership.
|
GHPermissionType |
GHRepository.getPermission(GHUser u)
Obtain permission for a given user in this repository.
|
protected GHUser |
GitHub.getUser(GHUser orig)
Interns the given
GHUser. |
Map<String,GHOrganization> |
GitHub.getUserPublicOrganizations(GHUser user)
Alias for
GitHub.getUserPublicOrganizations(String). |
boolean |
GHRepository.hasAssignee(GHUser u)
Checks if the given user is an assignee for this repository.
|
boolean |
GHOrganization.hasMember(GHUser user)
Checks if this organization has the specified user as a member.
|
boolean |
GHTeam.hasMember(GHUser user)
Checks if this team has the specified user as a member.
|
boolean |
GHOrganization.hasPublicMember(GHUser user)
Checks if this organization has the specified user as a public member.
|
GHIssueSearchBuilder |
GHIssueSearchBuilder.mentions(GHUser u)
Mentions gh issue search builder.
|
void |
GHOrganization.publicize(GHUser u)
Publicizes the membership.
|
void |
GHOrganization.remove(GHUser user)
Remove a member of the organisation - which will remove them from all teams, and remove their access to the
organization’s repositories.
|
void |
GHTeam.remove(GHUser u)
Removes a member to the team.
|
void |
GHIssue.removeAssignees(GHUser... assignees)
Remove assignees.
|
void |
GHRepository.removeCollaborators(GHUser... users)
Remove collaborators.
|
void |
GHAppInstallation.setAccount(GHUser account)
Sets account.
|
void |
GHIssue.setAssignees(GHUser... assignees)
Sets assignees.
|
void |
GHApp.setOwner(GHUser owner)
Sets owner.
|
void |
GHEventPayload.setSender(GHUser sender)
Sets sender.
|
GHBranchProtectionBuilder |
GHBranchProtectionBuilder.userPushAccess(GHUser... users)
User push access gh branch protection builder.
|
GHBranchProtectionBuilder |
GHBranchProtectionBuilder.userReviewDismissals(GHUser... users)
User review dismissals gh branch protection builder.
|
| Modifier and Type | Method and Description |
|---|---|
void |
GHIssue.addAssignees(Collection<GHUser> assignees)
Add assignees.
|
void |
GHRepository.addCollaborators(Collection<GHUser> users)
Add collaborators.
|
protected static List<String> |
GHIssue.getLogins(Collection<GHUser> users) |
void |
GHIssue.removeAssignees(Collection<GHUser> assignees)
Remove assignees.
|
void |
GHRepository.removeCollaborators(Collection<GHUser> users)
Remove collaborators.
|
void |
GHPullRequest.requestReviewers(List<GHUser> reviewers)
Request reviewers.
|
void |
GHIssue.setAssignees(Collection<GHUser> assignees)
Sets assignees.
|
GHBranchProtectionBuilder |
GHBranchProtectionBuilder.userPushAccess(Collection<GHUser> users)
User push access gh branch protection builder.
|
GHBranchProtectionBuilder |
GHBranchProtectionBuilder.userReviewDismissals(Collection<GHUser> users)
User review dismissals gh branch protection builder.
|
Copyright © 2020. All rights reserved.