-
Methods in org.gitlab4j.api with parameters of type AccessLevel
Modifier and Type |
Method |
Description |
void |
GroupApi.addLdapGroupLink(Object groupIdOrPath,
String cn,
AccessLevel groupAccess,
String provider) |
Adds an LDAP group link.
|
Member |
GroupApi.addMember(Object groupIdOrPath,
Integer userId,
AccessLevel accessLevel) |
Adds a user to the list of group members.
|
Member |
GroupApi.addMember(Object groupIdOrPath,
Integer userId,
AccessLevel accessLevel,
Date expiresAt) |
Adds a user to the list of group members.
|
Member |
ProjectApi.addMember(Object projectIdOrPath,
Integer userId,
AccessLevel accessLevel) |
Adds a user to a project team.
|
Member |
ProjectApi.addMember(Object projectIdOrPath,
Integer userId,
AccessLevel accessLevel,
Date expiresAt) |
Adds a user to a project team.
|
AccessRequest |
GroupApi.approveAccessRequest(Object groupIdOrPath,
Integer userId,
AccessLevel accessLevel) |
Approve access for the specified user to the specified group.
|
AccessRequest |
ProjectApi.approveAccessRequest(Object projectIdOrPath,
Integer userId,
AccessLevel accessLevel) |
Approve access for the specified user to the specified project.
|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Object projectIdOrPath,
String branchName,
AccessLevel pushAccessLevel,
AccessLevel mergeAccessLevel) |
Protects a single repository branch or several project repository branches using a wildcard protected branch.
|
ProtectedBranch |
ProtectedBranchesApi.protectBranch(Object projectIdOrPath,
String branchName,
AccessLevel pushAccessLevel,
AccessLevel mergeAccessLevel,
AccessLevel unprotectAccessLevel,
Boolean codeOwnerApprovalRequired) |
Protects a single repository branch or several project repository branches using a wildcard protected branch.
|
ProtectedTag |
TagsApi.protectTag(Object projectIdOrPath,
String name,
AccessLevel createAccessLevel) |
Protects a single repository tag or several project repository tags using a wildcard protected tag.
|
Group |
GroupApi.shareGroup(Object groupIdOrPath,
Integer shareWithGroupId,
AccessLevel groupAccess,
Date expiresAt) |
Share group with another group.
|
void |
ProjectApi.shareProject(Object projectIdOrPath,
Integer groupId,
AccessLevel accessLevel,
Date expiresAt) |
Share a project with the specified group.
|
Member |
GroupApi.updateMember(Object groupIdOrPath,
Integer userId,
AccessLevel accessLevel) |
Updates a member of a group.
|
Member |
GroupApi.updateMember(Object groupIdOrPath,
Integer userId,
AccessLevel accessLevel,
Date expiresAt) |
Updates a member of a group.
|
Member |
ProjectApi.updateMember(Object projectIdOrPath,
Integer userId,
AccessLevel accessLevel) |
Updates a member of a project.
|
Member |
ProjectApi.updateMember(Object projectIdOrPath,
Integer userId,
AccessLevel accessLevel,
Date expiresAt) |
Updates a member of a project.
|
GitLabApiForm |
GitLabApiForm.withParam(String name,
AccessLevel level) |
Fluent method for adding AccessLevel query and form parameters to a get() or post() call.
|
GitLabApiForm |
GitLabApiForm.withParam(String name,
AccessLevel level,
boolean required) |
Fluent method for adding AccessLevel query and form parameters to a get() or post() call.
|
-
-
getComponentAt