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
e570c9b0
Unverified
Commit
e570c9b0
authored
Apr 11, 2021
by
Gautier de Saint Martin Lacaze
Committed by
GitHub
Apr 11, 2021
Browse files
Merge pull request #677 from lesiak/676-missing-values-in-pipelinestatus
fix: #676 Added missing values in PipelineStatus enum
parents
82b01b0c
4ab8630b
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/PipelineStatus.java
View file @
e570c9b0
...
...
@@ -11,9 +11,19 @@ import com.fasterxml.jackson.annotation.JsonValue;
*/
public
enum
PipelineStatus
{
RUNNING
,
PENDING
,
SUCCESS
,
FAILED
,
CANCELED
,
SKIPPED
,
MANUAL
;
private
static
Map
<
String
,
PipelineStatus
>
valuesMap
=
new
HashMap
<>(
6
);
CREATED
,
WAITING_FOR_RESOURCE
,
PREPARING
,
PENDING
,
RUNNING
,
SUCCESS
,
FAILED
,
CANCELED
,
SKIPPED
,
MANUAL
,
SCHEDULED
;
private
static
Map
<
String
,
PipelineStatus
>
valuesMap
=
new
HashMap
<>(
11
);
static
{
for
(
PipelineStatus
status
:
PipelineStatus
.
values
())
valuesMap
.
put
(
status
.
toValue
(),
status
);
...
...
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