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
9df03376
Commit
9df03376
authored
Nov 08, 2019
by
Matthew Shaylor
Committed by
Greg Messner
Nov 08, 2019
Browse files
Add lastPipeline property to Commit class (#469)
parent
1bdc9168
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/Commit.java
View file @
9df03376
...
...
@@ -25,6 +25,7 @@ public class Commit {
private
Date
timestamp
;
private
String
title
;
private
String
url
;
private
Pipeline
lastPipeline
;
public
Author
getAuthor
()
{
return
author
;
...
...
@@ -162,6 +163,9 @@ public class Commit {
this
.
url
=
url
;
}
public
Pipeline
getLastPipeline
()
{
return
lastPipeline
;
}
public
void
setLastPipeline
(
Pipeline
lastPipeline
)
{
this
.
lastPipeline
=
lastPipeline
;
}
public
Commit
withAuthor
(
Author
author
)
{
this
.
author
=
author
;
...
...
src/main/java/org/gitlab4j/api/models/Setting.java
View file @
9df03376
...
...
@@ -85,8 +85,8 @@ public enum Setting {
* Assets that match these domain(s) will NOT be proxied. Wildcards allowed.
* Your GitLab installation URL is automatically whitelisted. GitLab restart
* is required to apply changes.
* TODO according to documentation : string or array of strings => How to do this?
*/
//TODO according to documentation : string or array of strings => How to do this?
ASSET_PROXY_WHITELIST
(
String
.
class
),
/**
...
...
@@ -314,7 +314,7 @@ public enum Setting {
* (PREMIUM | SILVER) The url to use for connecting to Elasticsearch.
* Use a comma-separated list to support cluster (e.g., http://localhost:9200,
* http://localhost:9201"). If your Elasticsearch instance is password
* protected, pass the username:password in the URL (e.g., http://
<
username
>:<
password
>@<
elastic_host
>
:9200/).
* protected, pass the username:password in the URL (e.g., http://username
:
password
@
elastic_host:9200/).
*/
ELASTICSEARCH_URL
(
String
.
class
),
...
...
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