package com.equalize.xpi.af.modules.util;

import com.sap.aii.af.lib.mp.module.ModuleException;
import com.sap.engine.interfaces.messaging.api.Message;
import com.sap.engine.interfaces.messaging.api.XMLPayload;

public abstract class AbstractModuleConverter {
	protected final Message msg;
	protected final XMLPayload payload;
	protected final AuditLogHelper audit;
	protected final ParameterHelper param;
	protected final DynamicConfigurationHelper dyncfg;
	
	public AbstractModuleConverter (Message msg, ParameterHelper param, AuditLogHelper audit, DynamicConfigurationHelper dyncfg) {
		this.msg = msg;
		this.payload = this.msg.getDocument();
		this.param = param;
		this.dyncfg = dyncfg;
		this.audit = audit;						
	}
	
	public abstract void retrieveModuleParameters() throws ModuleException;

	public abstract void parseInput() throws ModuleException;

	public abstract byte[] generateOutput() throws ModuleException;
}

@@ -451,16 +451,48 @@
 dyncfg;%0A
+%09protected final boolean debug;%0A
 %09%0A%09publi
@@ -609,16 +609,31 @@
 r dyncfg
+, boolean debug
 ) %7B%0A%09%09th
@@ -755,21 +755,38 @@
  audit;%09
+%0A
 %09%09
-%09%09%09
+this.debug = debug;
 %0A%09%7D%0A%09%0A%09p

Update AbstractModuleConverter.java