package com.csc.library.request; public enum CommandState { fail(-1 , "Command is Fail."), noAction(0 , "No Action."), success(2 , "Command is Success."); int code = 0; String description = ""; private CommandState(int code , String description){ this.code = code; } public int getCode(){ return this.code; } public String getDescription(){ return this.description; } }