public final class BucketConfigParser extends Object
An abstraction over the bucket parser which takes a raw config as a string and turns it into a BucketConfig
.
Constructor and Description |
---|
BucketConfigParser() |
Modifier and Type | Method and Description |
---|---|
static ObjectMapper |
jackson()
Accessor to the jackson object mapper.
|
static BucketConfig |
parse(String input,
ConfigParserEnvironment env)
Parse a raw configuration into a
BucketConfig . |
@InterfaceStability.Committed @InterfaceAudience.Private public static ObjectMapper jackson()
Accessor to the jackson object mapper.
public static BucketConfig parse(String input, ConfigParserEnvironment env)
Parse a raw configuration into a BucketConfig
.
input
- the raw string input.Copyright © 2018 Couchbase, Inc.. All rights reserved.