public final class UserYamlSwapper extends Object implements YamlConfigurationSwapper<YamlUserConfiguration,ShardingSphereUser>
| Constructor and Description |
|---|
UserYamlSwapper() |
| Modifier and Type | Method and Description |
|---|---|
ShardingSphereUser |
swapToObject(YamlUserConfiguration yamlConfig)
Swap from YAML configuration to object.
|
YamlUserConfiguration |
swapToYamlConfiguration(ShardingSphereUser data)
Swap to YAML configuration.
|
public YamlUserConfiguration swapToYamlConfiguration(ShardingSphereUser data)
YamlConfigurationSwapperswapToYamlConfiguration in interface YamlConfigurationSwapper<YamlUserConfiguration,ShardingSphereUser>data - data to be swappedpublic ShardingSphereUser swapToObject(YamlUserConfiguration yamlConfig)
YamlConfigurationSwapperswapToObject in interface YamlConfigurationSwapper<YamlUserConfiguration,ShardingSphereUser>yamlConfig - YAML configurationCopyright © 2021 The Apache Software Foundation. All rights reserved.