public void setAdditionalPublicanCfg(final String name, final String publicanCfg) {
        if (publicanCfg == null && !publicanCfgs.containsKey(name)) {
            return;
        } else if (publicanCfg == null) {
            removeChild(publicanCfgs.get(name));
            publicanCfgs.remove(name);
        } else if (!publicanCfgs.containsKey(name)) {
            final String fixedName = name + "-" + CommonConstants.CS_PUBLICAN_CFG_TITLE;
            final KeyValueNode<String> publicanCfgMetaData = new KeyValueNode<String>(fixedName, publicanCfg);
            publicanCfgs.put(name, publicanCfgMetaData);
            appendChild(publicanCfgMetaData, false);
        } else {
            publicanCfgs.get(name).setValue(publicanCfg);
        }
    }
public void setAdditionalPublicanCfg ( final String name , final String publicanCfg ) { if ( publicanCfg == null && ! publicanCfgs . containsKey ( name ) ) { return ; } else if ( publicanCfg == null ) { removeChild ( publicanCfgs . get ( name ) ) ; publicanCfgs . remove ( name ) ; } else if ( ! publicanCfgs . containsKey ( name ) ) { final String fixedName = name + "-" + CommonConstants . CS_PUBLICAN_CFG_TITLE ; final KeyValueNode < String > publicanCfgMetaData = new KeyValueNode < String > ( fixedName , publicanCfg ) ; publicanCfgs . put ( name , publicanCfgMetaData ) ; appendChild ( publicanCfgMetaData , false ) ; } else { publicanCfgs . get ( name ) . setValue ( publicanCfg ) ; } }
Set the data that will be appended to the publican.cfg file when built.

@param name The custom configuration name.
@param publicanCfg The data to be appended.