Skip to content
Snippets Groups Projects
Commit 4aa43ce0 authored by Makhtar DIAGNE's avatar Makhtar DIAGNE
Browse files

[DLAB-3453] Remove priority on OperationStatus

parent 48d176ad
No related branches found
No related tags found
1 merge request!1Feature/design/1
...@@ -38,28 +38,11 @@ package fr.gouv.vitamui.commons.api.enums; ...@@ -38,28 +38,11 @@ package fr.gouv.vitamui.commons.api.enums;
import lombok.Getter; import lombok.Getter;
@Getter
public enum OperationStatus { public enum OperationStatus {
CANCELED,
CANCELED (10), WAITING,
WAITING(4), PAUSED,
PAUSED(3), RUNNING,
RUNNING(2), FAILED,
FAILED(0), COMPLETED;
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;
}
} }
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