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
4ab8630b
Commit
4ab8630b
authored
Mar 25, 2021
by
lesiak
Browse files
fix: #676 Added missing values in PipelineStatus enum
parent
32bf9344
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/org/gitlab4j/api/models/PipelineStatus.java
View file @
4ab8630b
...
...
@@ -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