@Override
    protected boolean parseCliValue() {
        boolean status = false;

        for (String allowedValue : allowedValues) {

            if (allowedValue.equals(cliValue)) {
                status = true;
                value = cliValue;
            }
        }

        if (!status) {
            errorMessage = "Value '" + cliValue + "' is not one of ";

            for (String allowedValue : allowedValues) {
                errorMessage += "'" + allowedValue + "', ";
            }

            errorMessage = errorMessage.substring(0, errorMessage.length() - 2) + ".";

        }

        return status;
    }