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;
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;
}
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