Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method | Description |
---|---|---|
PushRule |
ProjectApi.createPushRule(Integer projectId,
PushRule pushRule) |
Creates new push rule for the specified project.
|
PushRule |
ProjectApi.updatePushRule(Integer projectId,
Integer pushRuleId,
PushRule pushRule) |
Updates a push rule for the specified project.
|
Modifier and Type | Method | Description |
---|---|---|
List<PushRule> |
ProjectApi.getPushRules(Integer projectId) |
Get a list of project's push rules.
|
Pager<PushRule> |
ProjectApi.getPushRules(Integer projectId,
int itemsPerPage) |
Get a Pager of project's push rules.
|
List<PushRule> |
ProjectApi.getPushRules(Integer projectId,
int page,
int perPage) |
Get a list of project's push rules using the specified page and per page settings.
|
Modifier and Type | Method | Description |
---|---|---|
PushRule |
ProjectApi.createPushRule(Integer projectId,
PushRule pushRule) |
Creates new push rule for the specified project.
|
PushRule |
ProjectApi.updatePushRule(Integer projectId,
Integer pushRuleId,
PushRule pushRule) |
Updates a push rule for the specified project.
|
Modifier and Type | Method | Description |
---|---|---|
PushRule |
PushRule.withAuthorEmailRegex(String authorEmailRegex) |
|
PushRule |
PushRule.withBranchNameRegex(String branchNameRegex) |
|
PushRule |
PushRule.withCommitMessageRegex(String commitMessageRegex) |
|
PushRule |
PushRule.withDenyDeleteTag(Boolean denyDeleteTag) |
|
PushRule |
PushRule.withFileNameRegex(String fileNameRegex) |
|
PushRule |
PushRule.withMaxFileSize(Integer maxFileSize) |
|
PushRule |
PushRule.withMemberCheck(Boolean memberCheck) |
|
PushRule |
PushRule.withPreventSecrets(Boolean preventSecrets) |
|
PushRule |
PushRule.withProjectId(Integer projectId) |
Copyright © 2018. All rights reserved.