com.genesyslab.platform.apptemplate.configuration
Class MessagePrinterHelper
java.lang.Object
com.genesyslab.platform.apptemplate.configuration.MessagePrinterHelper
public class MessagePrinterHelper
- extends java.lang.Object
Helper to hide message attributes or complex type attributes from msg.toString()
output.
Supported complex types: attributes that extend CompoundValue
or AbstractPrintable
This helper parses application options and apply result for ToStringHelper
.
Options format:
[log-hidden-attributes]
<ProtocolName>.<Message Name | Complex Attribute Name> = <Attributes List>
For example:
[log-hidden-attributes]
ContactServer.InteractionContent = "Text, StructuredText"
If another options format required, use ToStringHelper
directly.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MessagePrinterHelper
public MessagePrinterHelper()
setHiddenAttributes
public static void setHiddenAttributes(KeyValueCollection configSection)
- Applies new hidden attributes configuration:
MessagePrinterHelper.setHiddenAttributes(cfgApp.getOptions().getList("log-hidden-attributes"));
- Parameters:
configSection
- application options section
isConfigurationChanged
public static boolean isConfigurationChanged(CfgDeltaApplication delta,
java.lang.String sectionName)
throws java.lang.NullPointerException
- Checks if
CfgDeltaApplication
has changes in hidden attributes section.
- Parameters:
delta
- application delta, received from Config Server.sectionName
- section name in application options, i.e. "log-hidden-attributes".
- Throws:
java.lang.NullPointerException
- if section name is null
Send comments on this topicTechpubs.webadmin@genesys.com.
Document version: 8.5.302.00
Copyright © 2006–2017 Genesys Telecommunications Laboratories, Inc. All rights reserved.