public Boolean isPortable() {
    return portable;
  }
Creates an AutoSerializer.

@param portable if true then any attempt to serialize a class that is not supported by the
       native client will fail.
@param patterns regular expressions that will cause the auto serializer to serialize any
       classes whose fully qualified class name matches one of the patterns.
       If no patterns are given, and the operation is CREATE, then an exception will be thrown.
geode-management/src/main/java/org/apache/geode/management/configuration/AutoSerializer.java