类 ConfigProperty
java.lang.Object
org.fisco.bcos.sdk.config.model.ConfigProperty
public class ConfigProperty
extends java.lang.Object
ConfigOption is the java object of the config file.
-
字段概要
字段 修饰符和类型 字段 说明 java.util.Map<java.lang.String,java.lang.Object>
account
java.util.List<AmopTopic>
amop
java.util.Map<java.lang.String,java.lang.Object>
cryptoMaterial
java.util.Map<java.lang.String,java.lang.Object>
cryptoProvider
java.util.Map<java.lang.String,java.lang.Object>
network
java.util.Map<java.lang.String,java.lang.Object>
threadPool
-
构造器概要
构造器 构造器 说明 ConfigProperty()
-
方法概要
修饰符和类型 方法 说明 java.util.Map<java.lang.String,java.lang.Object>
getAccount()
java.util.List<AmopTopic>
getAmop()
static java.lang.String
getConfigFilePath(java.lang.String configFilePath)
static java.io.InputStream
getConfigInputStream(java.lang.String configFilePath)
java.util.Map<java.lang.String,java.lang.Object>
getCryptoMaterial()
java.util.Map<java.lang.String,java.lang.Object>
getCryptoProvider()
java.util.Map<java.lang.String,java.lang.Object>
getNetwork()
java.util.Map<java.lang.String,java.lang.Object>
getThreadPool()
static java.lang.String
getValue(java.util.Map<java.lang.String,java.lang.Object> config, java.lang.String key, java.lang.String defaultValue)
void
setAccount(java.util.Map<java.lang.String,java.lang.Object> account)
void
setAmop(java.util.List<AmopTopic> amop)
void
setCryptoMaterial(java.util.Map<java.lang.String,java.lang.Object> cryptoMaterial)
void
setCryptoProvider(java.util.Map<java.lang.String,java.lang.Object> cryptoProvider)
void
setNetwork(java.util.Map<java.lang.String,java.lang.Object> network)
void
setThreadPool(java.util.Map<java.lang.String,java.lang.Object> threadPool)
从类继承的方法 java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
字段详细资料
-
cryptoMaterial
public java.util.Map<java.lang.String,java.lang.Object> cryptoMaterial -
network
public java.util.Map<java.lang.String,java.lang.Object> network -
amop
-
account
public java.util.Map<java.lang.String,java.lang.Object> account -
threadPool
public java.util.Map<java.lang.String,java.lang.Object> threadPool -
cryptoProvider
public java.util.Map<java.lang.String,java.lang.Object> cryptoProvider
-
-
构造器详细资料
-
ConfigProperty
public ConfigProperty()
-
-
方法详细资料
-
getCryptoMaterial
public java.util.Map<java.lang.String,java.lang.Object> getCryptoMaterial() -
setCryptoMaterial
public void setCryptoMaterial(java.util.Map<java.lang.String,java.lang.Object> cryptoMaterial) -
getNetwork
public java.util.Map<java.lang.String,java.lang.Object> getNetwork() -
setNetwork
public void setNetwork(java.util.Map<java.lang.String,java.lang.Object> network) -
getAmop
-
setAmop
-
getAccount
public java.util.Map<java.lang.String,java.lang.Object> getAccount() -
setAccount
public void setAccount(java.util.Map<java.lang.String,java.lang.Object> account) -
getThreadPool
public java.util.Map<java.lang.String,java.lang.Object> getThreadPool() -
setThreadPool
public void setThreadPool(java.util.Map<java.lang.String,java.lang.Object> threadPool) -
getCryptoProvider
public java.util.Map<java.lang.String,java.lang.Object> getCryptoProvider() -
setCryptoProvider
public void setCryptoProvider(java.util.Map<java.lang.String,java.lang.Object> cryptoProvider) -
getValue
public static java.lang.String getValue(java.util.Map<java.lang.String,java.lang.Object> config, java.lang.String key, java.lang.String defaultValue) -
getConfigInputStream
public static java.io.InputStream getConfigInputStream(java.lang.String configFilePath) throws ConfigException- 抛出:
ConfigException
-
getConfigFilePath
public static java.lang.String getConfigFilePath(java.lang.String configFilePath) throws ConfigException- 抛出:
ConfigException
-