public class ConfigStoreOptions extends Object
Constructor and Description |
---|
ConfigStoreOptions() |
ConfigStoreOptions(ConfigStoreOptions other) |
ConfigStoreOptions(io.vertx.core.json.JsonObject json) |
Modifier and Type | Method and Description |
---|---|
io.vertx.core.json.JsonObject |
getConfig() |
String |
getFormat() |
String |
getType() |
boolean |
isOptional() |
ConfigStoreOptions |
setConfig(io.vertx.core.json.JsonObject config)
Sets the configuration of the store
|
ConfigStoreOptions |
setFormat(String format)
Sets the format of the configuration that is retrieved from the store.
|
ConfigStoreOptions |
setOptional(boolean optional)
Sets whether or not the store is optional.
|
ConfigStoreOptions |
setType(String type)
Sets the configuration type
|
io.vertx.core.json.JsonObject |
toJson() |
public ConfigStoreOptions()
public ConfigStoreOptions(ConfigStoreOptions other)
public ConfigStoreOptions(io.vertx.core.json.JsonObject json)
public io.vertx.core.json.JsonObject toJson()
public String getType()
public ConfigStoreOptions setType(String type)
type
- the typeConfigStoreOptions
public io.vertx.core.json.JsonObject getConfig()
null
if not needed.public ConfigStoreOptions setConfig(io.vertx.core.json.JsonObject config)
config
- the data, can be null
ConfigStoreOptions
public String getFormat()
public boolean isOptional()
public ConfigStoreOptions setOptional(boolean optional)
optional
- whether or not the store is optional.ConfigStoreOptions
public ConfigStoreOptions setFormat(String format)
format
- the format, must not be null
.ConfigStoreOptions
Copyright © 2018 Eclipse. All rights reserved.