Package | Description |
---|---|
org.gitlab4j.api | |
org.gitlab4j.api.models |
Modifier and Type | Method and Description |
---|---|
Commit |
CommitsApi.createCommit(Object projectIdOrPath,
String branch,
String commitMessage,
String startBranch,
String authorEmail,
String authorName,
List<CommitAction> actions)
Create a commit with multiple files and actions.
|
Commit |
CommitsApi.getCommit(Object projectIdOrPath,
String sha)
Get a specific commit identified by the commit hash or name of a branch or tag.
|
Commit |
RepositoryApi.getMergeBase(Object projectIdOrPath,
List<String> refs)
Get the common ancestor for 2 or more refs (commit SHAs, branch names or tags).
|
Modifier and Type | Method and Description |
---|---|
List<Commit> |
CommitsApi.getCommits(Object projectIdOrPath)
Get a list of repository commits in a project.
|
List<Commit> |
MergeRequestApi.getCommits(Object projectIdOrPath,
int mergeRequestIid)
Get a list of merge request commits.
|
Pager<Commit> |
CommitsApi.getCommits(Object projectIdOrPath,
int itemsPerPage)
Get a Pager of repository commits in a project.
|
Pager<Commit> |
MergeRequestApi.getCommits(Object projectIdOrPath,
int mergeRequestIid,
int itemsPerPage)
Get a Pager of merge request commits.
|
List<Commit> |
CommitsApi.getCommits(Object projectIdOrPath,
int page,
int perPage)
Get a list of repository commits in a project.
|
List<Commit> |
MergeRequestApi.getCommits(Object projectIdOrPath,
int mergeRequestIid,
int page,
int perPage)
Get a list of merge request commits.
|
List<Commit> |
CommitsApi.getCommits(Object projectIdOrPath,
String ref,
Date since,
Date until)
Get a list of repository commits in a project.
|
Pager<Commit> |
CommitsApi.getCommits(Object projectIdOrPath,
String ref,
Date since,
Date until,
int itemsPerPage)
Get a Pager of repository commits in a project.
|
List<Commit> |
CommitsApi.getCommits(Object projectIdOrPath,
String ref,
Date since,
Date until,
int page,
int perPage)
Get a list of repository commits in a project.
|
List<Commit> |
CommitsApi.getCommits(Object projectIdOrPath,
String ref,
Date since,
Date until,
String path)
Get a list of repository commits in a project.
|
Pager<Commit> |
CommitsApi.getCommits(Object projectIdOrPath,
String ref,
Date since,
Date until,
String path,
int itemsPerPage)
Get a Pager of repository commits in a project
|
List<Commit> |
CommitsApi.getCommits(Object projectIdOrPath,
String ref,
Date since,
Date until,
String path,
int page,
int perPage)
Get a list of repository commits in a project.
|
List<Commit> |
CommitsApi.getCommits(Object projectIdOrPath,
String ref,
String path)
Get a list of file commits in a project
|
Stream<Commit> |
MergeRequestApi.getCommitsStream(Object projectIdOrPath,
int mergeRequestIid)
Get a Stream of merge request commits.
|
Stream<Commit> |
CommitsApi.getCommitsStream(Object projectIdOrPath,
String ref,
Date since,
Date until)
Get a Stream of repository commits in a project.
|
Stream<Commit> |
CommitsApi.getCommitsStream(Object projectIdOrPath,
String ref,
Date since,
Date until,
String path)
Get a Stream of repository commits in a project.
|
Stream<Commit> |
CommitsApi.getCommitStream(Object projectIdOrPath)
Get a Stream of repository commits in a project.
|
Optional<Commit> |
CommitsApi.getOptionalCommit(Object projectIdOrPath,
String sha)
Get a specific commit identified by the commit hash or name of a branch or tag as an Optional instance
|
Optional<Commit> |
RepositoryApi.getOptionalMergeBase(Object projectIdOrPath,
List<String> refs)
Get an Optional instance with the value of the common ancestor
for 2 or more refs (commit SHAs, branch names or tags).
|
Modifier and Type | Method and Description |
---|---|
Commit |
Tag.getCommit() |
Commit |
Job.getCommit() |
Commit |
CompareResults.getCommit() |
Commit |
Branch.getCommit() |
Commit |
Commit.withAuthor(Author author) |
Commit |
Commit.withAuthoredDate(Date authoredDate) |
Commit |
Commit.withAuthorEmail(String authorEmail) |
Commit |
Commit.withAuthorName(String authorName) |
Commit |
Commit.withCommittedDate(Date committedDate) |
Commit |
Commit.withCommitterEmail(String committerEmail) |
Commit |
Commit.withCommitterName(String committerName) |
Commit |
Commit.withCreatedAt(Date createdAt) |
Commit |
Commit.withId(String id) |
Commit |
Commit.withMessage(String message) |
Commit |
Commit.withParentIds(List<String> parentIds) |
Commit |
Commit.withShorwId(String shortId) |
Commit |
Commit.withStats(CommitStats stats) |
Commit |
Commit.withStatus(String status) |
Commit |
Commit.withTimestamp(Date timestamp) |
Commit |
Commit.withTitle(String title) |
Commit |
Commit.withUrl(String url) |
Modifier and Type | Method and Description |
---|---|
List<Commit> |
EventData.getCommits() |
List<Commit> |
CompareResults.getCommits() |
Modifier and Type | Method and Description |
---|---|
void |
Tag.setCommit(Commit commit) |
void |
Job.setCommit(Commit commit) |
void |
CompareResults.setCommit(Commit commit) |
void |
Branch.setCommit(Commit commit) |
Job |
Job.withCommit(Commit commit) |
Branch |
Branch.withCommit(Commit commit) |
Modifier and Type | Method and Description |
---|---|
void |
EventData.setCommits(List<Commit> commits) |
void |
CompareResults.setCommits(List<Commit> commits) |
EventData |
EventData.withCommits(List<Commit> commits) |
Copyright © 2019. All rights reserved.