Package com.couchbase.client.core.config
Class ProposedGlobalConfigContext
- java.lang.Object
-
- com.couchbase.client.core.config.ProposedGlobalConfigContext
-
public class ProposedGlobalConfigContext extends Object
This context keeps together a bunch of related information needed to turn a raw config into a parsed one.- Since:
- 2.0.0
- Author:
- Michael Nitschinger
-
-
Constructor Summary
Constructors Constructor Description ProposedGlobalConfigContext(String config, String origin)
Creates a new proposed bucket config context.ProposedGlobalConfigContext(String config, String origin, boolean forcesOverride)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
config()
boolean
equals(Object o)
ProposedGlobalConfigContext
forceOverride()
boolean
forcesOverride()
int
hashCode()
String
origin()
Returns the origin, might be null.String
toString()
-
-
-
Method Detail
-
config
public String config()
-
origin
public String origin()
Returns the origin, might be null.- Returns:
- the origin if set, null otherwise.
-
forcesOverride
public boolean forcesOverride()
-
forceOverride
public ProposedGlobalConfigContext forceOverride()
-
-