public static CommandType getCommandType(String command){
        if(command.equals(GET_JOB))
            return CommandType.GET_JOB;
        else if(command.equals(CHECKOUT_JOB))
            return CommandType.CHECKOUT_JOB;
        else if(command.equals(COMPLETE_JOB))
            return CommandType.COMPLETE_JOB;
        else if (command.equals(HAVE_JOB))
            return CommandType.HAVE_JOB;
        return CommandType.UNKOWN;
    }