public class ProposedBucketConfigContext extends Object
This context keeps together a bunch of related information needed to turn a raw config into a parsed one.
Constructor and Description |
---|
ProposedBucketConfigContext(String bucketName,
String config,
NetworkAddress origin)
Creates a new proposed bucket config context.
|
Modifier and Type | Method and Description |
---|---|
String |
bucketName() |
String |
config() |
boolean |
equals(Object o) |
int |
hashCode() |
NetworkAddress |
origin()
Returns the origin, might be null.
|
public ProposedBucketConfigContext(String bucketName, String config, NetworkAddress origin)
Creates a new proposed bucket config context.
bucketName
- the name of the bucket, must not be null.config
- the raw config, must not be null.origin
- the origin of the config, can be null.public String bucketName()
public String config()
public NetworkAddress origin()
Returns the origin, might be null.
Copyright © 2018 Couchbase, Inc.. All rights reserved.