public class ConnectionCreateInfoConfig extends Configuration
构造器和说明 |
---|
ConnectionCreateInfoConfig() |
限定符和类型 | 方法和说明 |
---|---|
void |
addConnection(java.lang.String uuid,
ConnectionCreationInfo connection) |
ConnectionCreationInfo |
get(int index) |
ConnectionCreationInfo |
getConnection(java.lang.String uuid) |
int |
getConnectionIndex(java.lang.String name) |
java.util.Map<java.lang.String,ConnectionCreationInfo> |
getConnections() |
static ConnectionCreateInfoConfig |
getInstance() |
java.lang.String |
getNameSpace()
配置类的自定义前缀(配置类的命名空间),需要自己实现
|
void |
removeAllConnection() |
void |
removeConnection(java.lang.String uuid) |
void |
renameConnection(java.lang.String oldName,
java.lang.String newName) |
void |
setConnections(java.util.Map<java.lang.String,ConnectionCreationInfo> connections) |
clone, initialize, mirror
public java.lang.String getNameSpace()
Configuration
getNameSpace
在类中 Configuration
public static ConnectionCreateInfoConfig getInstance()
public void setConnections(java.util.Map<java.lang.String,ConnectionCreationInfo> connections)
public java.util.Map<java.lang.String,ConnectionCreationInfo> getConnections()
public void addConnection(java.lang.String uuid, ConnectionCreationInfo connection)
public void removeConnection(java.lang.String uuid)
public void renameConnection(java.lang.String oldName, java.lang.String newName)
public ConnectionCreationInfo getConnection(java.lang.String uuid)
public void removeAllConnection()
public int getConnectionIndex(java.lang.String name)
public ConnectionCreationInfo get(int index)