public class ConfigStoreOptions extends Object
Constructor and Description |
---|
ConfigStoreOptions() |
ConfigStoreOptions(ConfigStoreOptions other) |
ConfigStoreOptions(JsonObject json) |
Modifier and Type | Method and Description |
---|---|
JsonObject |
getConfig() |
String |
getFormat() |
String |
getType() |
boolean |
isOptional() |
ConfigStoreOptions |
setConfig(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
|
JsonObject |
toJson() |
public ConfigStoreOptions()
public ConfigStoreOptions(ConfigStoreOptions other)
public ConfigStoreOptions(JsonObject json)
public JsonObject toJson()
public String getType()
public ConfigStoreOptions setType(String type)
type
- the typeConfigStoreOptions
public JsonObject getConfig()
null
if not needed.public ConfigStoreOptions setConfig(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 © 2021 Eclipse. All rights reserved.