Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
佳 邓
Gitlab4j Api
Commits
b6b9ec4c
Unverified
Commit
b6b9ec4c
authored
Mar 17, 2022
by
Gautier de Saint Martin Lacaze
Browse files
[maven-release-plugin] prepare release gitlab4j-api-5.0.0
parent
c6711a10
Changes
7
Hide whitespace changes
Inline
Side-by-side
README.md
View file @
b6b9ec4c
...
...
@@ -54,7 +54,7 @@ To utilize GitLab4J™ API in your Java project, simply add the following de
```
java
dependencies
{
...
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
4.19
.
0
'
compile
group:
'
org
.
gitlab4j
'
,
name:
'
gitlab4j
-
api
'
,
version:
'
5.0
.
0
'
}
```
...
...
@@ -65,7 +65,7 @@ dependencies {
<dependency>
<groupId>
org.gitlab4j
</groupId>
<artifactId>
gitlab4j-api
</artifactId>
<version>
4.19
.0
</version>
<version>
5.0
.0
</version>
</dependency>
```
...
...
pom.xml
View file @
b6b9ec4c
...
...
@@ -7,7 +7,7 @@
<groupId>
org.gitlab4j
</groupId>
<artifactId>
gitlab4j-api
</artifactId>
<packaging>
jar
</packaging>
<version>
4.20.0-SNAPSHOT
</version>
<version>
5.0.0
</version>
<name>
GitLab4J-API - GitLab API Java Client
</name>
<description>
GitLab4J-API (gitlab4j-api) provides a full featured Java client library for working with GitLab repositories and servers via the GitLab REST API.
</description>
<url>
https://github.com/gitlab4j/gitlab4j-api
</url>
...
...
@@ -80,7 +80,7 @@
<url>
git@github.com:gitlab4j/gitlab4j-api.git
</url>
<connection>
scm:git:git@github.com:gitlab4j/gitlab4j-api.git
</connection>
<developerConnection>
scm:git:git@github.com:gitlab4j/gitlab4j-api.git
</developerConnection>
<tag>
head
</tag>
<tag>
gitlab4j-api-5.0.0
</tag>
</scm>
<build>
...
...
src/main/java/org/gitlab4j/api/GroupApi.java
View file @
b6b9ec4c
...
...
@@ -641,7 +641,7 @@ public class GroupApi extends AbstractApi {
* @param sharedRunnersMinutesLimit (optional) - (admin-only) Pipeline minutes quota for this group
* @return the created Group instance
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link #addGroup(String, String, String, Visibility,
* @deprecated Will be removed in version
6
.0, replaced by {@link #addGroup(String, String, String, Visibility,
* Boolean, Boolean, Long)}
*/
@Deprecated
...
...
@@ -682,7 +682,7 @@ public class GroupApi extends AbstractApi {
* @param sharedRunnersMinutesLimit (optional) - (admin-only) Pipeline minutes quota for this group
* @return the updated Group instance
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link #updateGroup(Object, String, String, String,
* @deprecated Will be removed in version
6
.0, replaced by {@link #updateGroup(Object, String, String, String,
* Visibility, Boolean, Boolean, Long)}
*/
@Deprecated
...
...
@@ -873,7 +873,7 @@ public class GroupApi extends AbstractApi {
* @return a list of group members viewable by the authenticated user, including inherited members
* through ancestor groups in the specified page range
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0
* @deprecated Will be removed in version
6
.0
*/
@Deprecated
public
List
<
Member
>
getAllMembers
(
Object
groupIdOrPath
,
int
page
,
int
perPage
)
throws
GitLabApiException
{
...
...
src/main/java/org/gitlab4j/api/LabelsApi.java
View file @
b6b9ec4c
...
...
@@ -355,7 +355,7 @@ public class LabelsApi extends AbstractApi {
* @param perPage the number of items per page
* @return a list of project's labels in the specified range
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in the next major release (
5
.0.0)
* @deprecated Will be removed in the next major release (
6
.0.0)
*/
@Deprecated
public
List
<
Label
>
getLabels
(
Object
projectIdOrPath
,
int
page
,
int
perPage
)
throws
GitLabApiException
{
...
...
src/main/java/org/gitlab4j/api/ProjectApi.java
View file @
b6b9ec4c
...
...
@@ -196,7 +196,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param statistics include project statistics
* @return a list of projects accessible by the authenticated user and matching the supplied parameters
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link #getProjects(Boolean, Visibility,
* @deprecated Will be removed in version
6
.0, replaced by {@link #getProjects(Boolean, Visibility,
* Constants.ProjectOrderBy, Constants.SortOrder, String, Boolean, Boolean, Boolean, Boolean, Boolean)}
*/
@Deprecated
...
...
@@ -1510,7 +1510,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param perPage the number of Member instances per page
* @return the project members viewable by the authenticated user, including inherited members through ancestor groups
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0
* @deprecated Will be removed in version
6
.0
*/
@Deprecated
public
List
<
Member
>
getAllMembers
(
Object
projectIdOrPath
,
int
page
,
int
perPage
)
throws
GitLabApiException
{
...
...
@@ -2203,7 +2203,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
* @return a list of project's issues
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link IssuesApi#getIssues(Object)}
* @deprecated Will be removed in version
6
.0, replaced by {@link IssuesApi#getIssues(Object)}
*/
@Deprecated
public
List
<
Issue
>
getIssues
(
Object
projectIdOrPath
)
throws
GitLabApiException
{
...
...
@@ -2220,7 +2220,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param perPage the number of issues per page
* @return the list of issues in the specified range
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link IssuesApi#getIssues(Object, int, int)}
* @deprecated Will be removed in version
6
.0, replaced by {@link IssuesApi#getIssues(Object, int, int)}
*/
@Deprecated
public
List
<
Issue
>
getIssues
(
Object
projectIdOrPath
,
int
page
,
int
perPage
)
throws
GitLabApiException
{
...
...
@@ -2237,7 +2237,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param itemsPerPage the number of issues per page
* @return the list of issues in the specified range
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link IssuesApi#getIssues(Object, int)}
* @deprecated Will be removed in version
6
.0, replaced by {@link IssuesApi#getIssues(Object, int)}
*/
@Deprecated
public
Pager
<
Issue
>
getIssues
(
Object
projectIdOrPath
,
int
itemsPerPage
)
throws
GitLabApiException
{
...
...
@@ -2252,7 +2252,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
* @return a Stream of the project's issues
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link IssuesApi#getIssues(Object)}
* @deprecated Will be removed in version
6
.0, replaced by {@link IssuesApi#getIssues(Object)}
*/
@Deprecated
public
Stream
<
Issue
>
getIssuesStream
(
Object
projectIdOrPath
)
throws
GitLabApiException
{
...
...
@@ -2268,7 +2268,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param issueId the internal ID of a project's issue
* @return the specified Issue instance
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link IssuesApi#getIssue(Object, Long)}
* @deprecated Will be removed in version
6
.0, replaced by {@link IssuesApi#getIssue(Object, Long)}
*/
@Deprecated
public
Issue
getIssue
(
Object
projectIdOrPath
,
Long
issueId
)
throws
GitLabApiException
{
...
...
@@ -2284,7 +2284,7 @@ public class ProjectApi extends AbstractApi implements Constants {
* @param projectIdOrPath the project in the form of an Long(ID), String(path), or Project instance, required
* @param issueId the internal ID of a project's issue
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link IssuesApi#deleteIssue(Object, Long)}
* @deprecated Will be removed in version
6
.0, replaced by {@link IssuesApi#deleteIssue(Object, Long)}
*/
@Deprecated
public
void
deleteIssue
(
Object
projectIdOrPath
,
Long
issueId
)
throws
GitLabApiException
{
...
...
src/main/java/org/gitlab4j/api/RepositoryFileApi.java
View file @
b6b9ec4c
...
...
@@ -133,7 +133,7 @@ public class RepositoryFileApi extends AbstractApi {
* @param ref (required) - The name of branch, tag or commit
* @return a RepositoryFile instance with the file info and file content
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link #getFile(Object, String, String)}
* @deprecated Will be removed in version
6
.0, replaced by {@link #getFile(Object, String, String)}
*/
@Deprecated
public
RepositoryFile
getFile
(
String
filePath
,
Long
projectId
,
String
ref
)
throws
GitLabApiException
{
...
...
@@ -181,7 +181,7 @@ public class RepositoryFileApi extends AbstractApi {
* @param ref (required) - The name of branch, tag or commit
* @return a RepositoryFile instance with the file info
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0
* @deprecated Will be removed in version
6
.0
*/
@Deprecated
protected
RepositoryFile
getFileV3
(
String
filePath
,
Long
projectId
,
String
ref
)
throws
GitLabApiException
{
...
...
@@ -242,7 +242,7 @@ public class RepositoryFileApi extends AbstractApi {
* @param commitMessage the commit message
* @return a RepositoryFile instance with the created file info
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link #createFile(Object, RepositoryFile, String, String)}
* @deprecated Will be removed in version
6
.0, replaced by {@link #createFile(Object, RepositoryFile, String, String)}
*/
@Deprecated
public
RepositoryFile
createFile
(
RepositoryFile
file
,
Long
projectId
,
String
branchName
,
String
commitMessage
)
throws
GitLabApiException
{
...
...
@@ -299,7 +299,7 @@ public class RepositoryFileApi extends AbstractApi {
* @param commitMessage the commit message
* @return a RepositoryFile instance with the updated file info
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link #updateFile(Object, RepositoryFile, String, String)}
* @deprecated Will be removed in version
6
.0, replaced by {@link #updateFile(Object, RepositoryFile, String, String)}
*/
@Deprecated
public
RepositoryFile
updateFile
(
RepositoryFile
file
,
Long
projectId
,
String
branchName
,
String
commitMessage
)
throws
GitLabApiException
{
...
...
@@ -355,7 +355,7 @@ public class RepositoryFileApi extends AbstractApi {
* @param branchName the name of branch
* @param commitMessage the commit message
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link #deleteFile(Object, String, String, String)}
* @deprecated Will be removed in version
6
.0, replaced by {@link #deleteFile(Object, String, String, String)}
*/
@Deprecated
public
void
deleteFile
(
String
filePath
,
Long
projectId
,
String
branchName
,
String
commitMessage
)
throws
GitLabApiException
{
...
...
src/main/java/org/gitlab4j/api/UserApi.java
View file @
b6b9ec4c
...
...
@@ -511,7 +511,7 @@ public class UserApi extends AbstractApi {
* @param projectsLimit the maximum number of project
* @return created User instance
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link #createUser(User, CharSequence, boolean)}
* @deprecated Will be removed in version
6
.0, replaced by {@link #createUser(User, CharSequence, boolean)}
*/
@Deprecated
public
User
createUser
(
User
user
,
CharSequence
password
,
Integer
projectsLimit
)
throws
GitLabApiException
{
...
...
@@ -624,7 +624,7 @@ public class UserApi extends AbstractApi {
* @param projectsLimit the maximum number of project
* @return the modified User instance
* @throws GitLabApiException if any exception occurs
* @deprecated Will be removed in version
5
.0, replaced by {@link #updateUser(User, CharSequence)}
* @deprecated Will be removed in version
6
.0, replaced by {@link #updateUser(User, CharSequence)}
*/
@Deprecated
public
User
modifyUser
(
User
user
,
CharSequence
password
,
Integer
projectsLimit
)
throws
GitLabApiException
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment