Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
V
vitamui-pr-pastis
Manage
Activity
Members
Labels
Code
Merge requests
1
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
dad
vitamui-pr-pastis
Commits
4aa43ce0
Commit
4aa43ce0
authored
4 years ago
by
Makhtar DIAGNE
Browse files
Options
Downloads
Patches
Plain Diff
[DLAB-3453] Remove priority on OperationStatus
parent
48d176ad
No related branches found
No related tags found
1 merge request
!1
Feature/design/1
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
commons/commons-api/src/main/java/fr/gouv/vitamui/commons/api/enums/OperationStatus.java
+6
-23
6 additions, 23 deletions
...va/fr/gouv/vitamui/commons/api/enums/OperationStatus.java
with
6 additions
and
23 deletions
commons/commons-api/src/main/java/fr/gouv/vitamui/commons/api/enums/OperationStatus.java
+
6
−
23
View file @
4aa43ce0
...
...
@@ -38,28 +38,11 @@ package fr.gouv.vitamui.commons.api.enums;
import
lombok.Getter
;
@Getter
public
enum
OperationStatus
{
CANCELED
(
10
),
WAITING
(
4
),
PAUSED
(
3
),
RUNNING
(
2
),
FAILED
(
0
),
COMPLETED
(
0
);
/**
* Value allowing to order status (can be used when an update of the.
*/
private
final
int
priority
;
/**
* Constructor.
* @param priority Priority of the status
*/
private
OperationStatus
(
int
priority
)
{
this
.
priority
=
priority
;
}
CANCELED
,
WAITING
,
PAUSED
,
RUNNING
,
FAILED
,
COMPLETED
;
}
This diff is collapsed.
Click to expand it.
Preview
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!
Save comment
Cancel
Please
register
or
sign in
to comment