use of nl.nn.adapterframework.configuration.ConfigurationWarnings in project iaf by ibissource.
the class StreamTransformerPipe method registerChild.
/**
* register a uniquely named record manager.
* @param handler
* @throws Exception
* @deprecated please use registerRecordHandler()
*/
public void registerChild(IRecordHandler handler) throws Exception {
ConfigurationWarnings configWarnings = ConfigurationWarnings.getInstance();
String msg = "configuration using element 'child' is deprecated. Please use element 'recordHandler'";
configWarnings.add(log, msg);
registerRecordHandler(handler);
}
use of nl.nn.adapterframework.configuration.ConfigurationWarnings in project iaf by ibissource.
the class RecordTransformer method setOutputSeperator.
public void setOutputSeperator(String string) {
ConfigurationWarnings configWarnings = ConfigurationWarnings.getInstance();
String msg = ClassUtils.nameOf(this) + "[" + getName() + "]: typo has been fixed: please use 'outputSeparator' instead of 'outputSeperator'";
configWarnings.add(log, msg);
setOutputSeparator(string);
}
use of nl.nn.adapterframework.configuration.ConfigurationWarnings in project iaf by ibissource.
the class RecordXslTransformer method configure.
public void configure() throws ConfigurationException {
super.configure();
ConfigurationWarnings configWarnings = ConfigurationWarnings.getInstance();
String msg = "class [" + this.getClass().getName() + "] is deprecated. Please replace by [nl.nn.adapterframework.batch.RecordXmlTransformer]";
configWarnings.add(log, msg);
}
use of nl.nn.adapterframework.configuration.ConfigurationWarnings in project iaf by ibissource.
the class AbstractResultHandler method configure.
@Override
public void configure() throws ConfigurationException {
if (paramList != null) {
paramList.configure();
}
if (StringUtils.isNotEmpty(getPrefix()) || StringUtils.isNotEmpty(getSuffix())) {
ConfigurationWarnings configWarnings = ConfigurationWarnings.getInstance();
configWarnings.add(ClassUtils.nameOf(this) + " [" + getName() + "]: the use of attributes prefix and suffix has been replaced by 'blocks'. Please replace with 'onBlockOpen' and 'onBlockClose', respectively");
}
}
use of nl.nn.adapterframework.configuration.ConfigurationWarnings in project iaf by ibissource.
the class FieldPositionRecordHandlerManager method setSeperator.
/**
* @deprecated typo has been fixed: please use 'separator' instead of 'seperator'
*/
public void setSeperator(String string) {
ConfigurationWarnings configWarnings = ConfigurationWarnings.getInstance();
String msg = ClassUtils.nameOf(this) + "[" + getName() + "]: typo has been fixed: please use 'separator' instead of 'seperator'";
configWarnings.add(log, msg);
separator = string;
}
Aggregations