Modifier and Type | Class and Description |
---|---|
static class |
ConfigXmlGenerator.XmlGenerator
Utility class to build xml using a
StringBuilder . |
Modifier and Type | Field and Description |
---|---|
static String |
MASK_FOR_SENSITIVE_DATA
Mask to hide the sensitive values in configuration.
|
Constructor and Description |
---|
ConfigXmlGenerator()
Creates a ConfigXmlGenerator that will format the code.
|
ConfigXmlGenerator(boolean formatted)
Creates a ConfigXmlGenerator.
|
ConfigXmlGenerator(boolean formatted,
boolean maskSensitiveFields)
Creates a ConfigXmlGenerator.
|
Modifier and Type | Method and Description |
---|---|
static String |
endpointConfigElementName(EndpointConfig endpointConfig) |
protected void |
factoryWithPropertiesXmlGenerator(ConfigXmlGenerator.XmlGenerator gen,
String elementName,
AbstractFactoryWithPropertiesConfig<?> factoryWithProps) |
String |
generate(Config config)
Generates the XML string based on some Config.
|
protected void |
securityRealmGenerator(ConfigXmlGenerator.XmlGenerator gen,
String name,
RealmConfig c) |
static void |
tcpIpConfigXmlGenerator(ConfigXmlGenerator.XmlGenerator gen,
JoinConfig join) |
public static final String MASK_FOR_SENSITIVE_DATA
public ConfigXmlGenerator()
public ConfigXmlGenerator(boolean formatted)
formatted
- true
if the XML should be formatted, false
otherwisepublic ConfigXmlGenerator(boolean formatted, boolean maskSensitiveFields)
formatted
- true
if the XML should be formatted, false
otherwisemaskSensitiveFields
- true
if the sensitive fields (like passwords) should be masked in the
output XML, false
otherwisepublic String generate(Config config)
config
- the configurationprotected void securityRealmGenerator(ConfigXmlGenerator.XmlGenerator gen, String name, RealmConfig c)
public static String endpointConfigElementName(EndpointConfig endpointConfig)
public static void tcpIpConfigXmlGenerator(ConfigXmlGenerator.XmlGenerator gen, JoinConfig join)
protected void factoryWithPropertiesXmlGenerator(ConfigXmlGenerator.XmlGenerator gen, String elementName, AbstractFactoryWithPropertiesConfig<?> factoryWithProps)
Copyright © 2023 Hazelcast, Inc.. All rights reserved.