Commit d3041ae2 authored by Greg Messner's avatar Greg Messner
Browse files

Added JobAPi and updated for version 4.4.0

parent 209b616d
...@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep ...@@ -11,7 +11,7 @@ To utilize the GitLab API for Java in your project, simply add the following dep
```java ```java
dependencies { dependencies {
... ...
compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.3.6' compile group: 'org.gitlab4j', name: 'gitlab4j-api', version: '4.4.0'
} }
``` ```
...@@ -20,11 +20,11 @@ dependencies { ...@@ -20,11 +20,11 @@ dependencies {
<dependency> <dependency>
<groupId>org.gitlab4j</groupId> <groupId>org.gitlab4j</groupId>
<artifactId>gitlab4j-api</artifactId> <artifactId>gitlab4j-api</artifactId>
<version>4.3.6</version> <version>4.4.0</version>
</dependency> </dependency>
``` ```
If you are not using Gradle or Maven you can download the latest gitlab4j-api JAR file here: [gitlab4j-api-4.3.6.jar](https://oss.sonatype.org/service/local/repositories/releases/content/org/gitlab4j/gitlab4j-api/4.3.6/gitlab4j-api-4.3.6.jar "Download JAR") If you are not using Gradle or Maven you can download the latest gitlab4j-api JAR file here: [gitlab4j-api-4.4.0.jar](https://oss.sonatype.org/service/local/repositories/releases/content/org/gitlab4j/gitlab4j-api/4.4.0/gitlab4j-api-4.4.0.jar "Download JAR")
Javadocs are available here: <a href="http://www.messners.com/gitlab4j-api/javadocs/index.html?org/gitlab4j/api/package-summary.html" target="_top">Javadocs</a> Javadocs are available here: <a href="http://www.messners.com/gitlab4j-api/javadocs/index.html?org/gitlab4j/api/package-summary.html" target="_top">Javadocs</a>
...@@ -73,6 +73,7 @@ Available Sub APIs ...@@ -73,6 +73,7 @@ Available Sub APIs
``` ```
CommitsApi CommitsApi
GroupApi GroupApi
JobApi
MergeRequestApi MergeRequestApi
NamespaceApi NamespaceApi
NotesApi NotesApi
...@@ -97,6 +98,12 @@ GroupApi: ...@@ -97,6 +98,12 @@ GroupApi:
List<Group> groups = gitLabApi.getGroupApi().getGroups(); List<Group> groups = gitLabApi.getGroupApi().getGroups();
``` ```
JobApi:
```java
// Get a list of jobs for the specified project ID
List<Job> jobs = gitLabApi.getJobApi().getJobs(1234);
```
MergeRequestApi: MergeRequestApi:
```java ```java
// Get a list of the merge requests for the specified project // Get a list of the merge requests for the specified project
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment