package cn.shiyanjun.platform.api.constants;

public enum JobStatus {

	CREATED(0),
	SUBMITTED(1),
	QUEUEING(2),
	FETCHED(3),
	SCHEDULED(4),
	RUNNING(5),
	SUCCEEDED(6),
	FAILED(7),
	CANCELLED(7),
	TIMEOUT(8);
	
	private int code;
	
	JobStatus(int code) {
		this.code = code;
	}
	
	public int getCode() {
		return code;
	}
}

@@ -181,25 +181,25 @@
 %0A%09CANCELLED(
-7
+9
 ),%0A%09TIMEOUT(
@@ -200,16 +200,32 @@
 MEOUT(8)
+,%0A%09CANCELLING(7)
 ;%0A%09%0A%09pri

Add a CANCELLING status for constant class 'JobStatus'.