@Override
  public String getValueAsString() {
    if (isString()) {
      return (String) value;
    } else if (isInetAddress()) {
      return toHostString(value);
    } else if (isFile()) {
      return value.toString();
    } else if (isOctal()) {
      String strVal = Integer.toOctalString((Integer) value);
      if (!strVal.startsWith("0")) {
        strVal = "0" + strVal;
      }
      return strVal;
    } else if (isArray()) {
      List list = Arrays.asList((Object[]) value);
      return list.toString();
    } else {
      return value.toString();
    }
  }
Constructor to allow serialization by subclass
geode-core/src/main/java/org/apache/geode/admin/internal/ConfigurationParameterImpl.java