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);
	
	private int code;
	
	JobStatus(int code) {
		this.code = code;
	}
	
	public int getCode() {
		return code;
	}
}

@@ -172,16 +172,31 @@
 AILED(7)
+,%0A%09CANCELLED(7)
 ;%0A%09%0A%09pri

Add a CANCELLED status for constant class 'JobStatus'.