import java.text.SimpleDateFormat\r
\r
import org.apache.commons.lang3.*\r
-import org.camunda.bpm.engine.runtime.Execution\r
+import org.camunda.bpm.engine.delegate.DelegateExecution\r
\r
public class FalloutHandler extends AbstractServiceTaskProcessor {\r
String Prefix="FH_"\r
ExceptionUtil exceptionUtil = new ExceptionUtil()\r
\r
- public initializeProcessVariables(Execution execution){\r
+ public initializeProcessVariables(DelegateExecution execution){\r
def method = getClass().getSimpleName() + '.initializeProcessVariables(' +'execution=' + execution.getId() +')'\r
def isDebugLogEnabled = execution.getVariable('isDebugLogEnabled')\r
logDebug('Entered ' + method, isDebugLogEnabled)\r
}\r
}\r
\r
- public void preProcessRequest (Execution execution) {\r
+ public void preProcessRequest (DelegateExecution execution) {\r
def method = getClass().getSimpleName() + '.preProcessRequest(' +'execution=' + execution.getId() +')'\r
def isDebugLogEnabled = execution.getVariable('isDebugLogEnabled')\r
logDebug('Entered ' + method, isDebugLogEnabled)\r
utils.log("DEBUG","OUTOF --> Initialize Variables Fallout Handler #########",isDebugLogEnabled);\r
}\r
\r
- public String updateRequestPayload (Execution execution){\r
+ public String updateRequestPayload (DelegateExecution execution){\r
def method = getClass().getSimpleName() + '.updateRequestPayload(' +'execution=' + execution.getId() +')'\r
def isDebugLogEnabled = execution.getVariable('isDebugLogEnabled')\r
logDebug('Entered ' + method, isDebugLogEnabled)\r
}\r
}\r
\r
- public String updateRequestInfraPayload (Execution execution){\r
+ public String updateRequestInfraPayload (DelegateExecution execution){\r
def method = getClass().getSimpleName() + '.updateRequestInfraPayload(' +'execution=' + execution.getId() +')'\r
def isDebugLogEnabled = execution.getVariable('isDebugLogEnabled')\r
logDebug('Entered ' + method, isDebugLogEnabled)\r
}\r
}\r
\r
- public String updateRequestGammaPayload (Execution execution){\r
+ public String updateRequestGammaPayload (DelegateExecution execution){\r
def method = getClass().getSimpleName() + '.updateRequestGammaPayload(' +'execution=' + execution.getId() +')'\r
def isDebugLogEnabled = execution.getVariable('isDebugLogEnabled')\r
logDebug('Entered ' + method, isDebugLogEnabled)\r
}\r
}\r
\r
- public String updateResponseStatusPayload (Execution execution){\r
+ public String updateResponseStatusPayload (DelegateExecution execution){\r
def method = getClass().getSimpleName() + '.updateResponseStatusPayload(' +'execution=' + execution.getId() +')'\r
def isDebugLogEnabled = execution.getVariable('isDebugLogEnabled')\r
logDebug('Entered ' + method, isDebugLogEnabled)\r
}\r
}\r
\r
- public void buildDBWorkflowException(Execution execution, String responseCodeVariable) {\r
+ public void buildDBWorkflowException(DelegateExecution execution, String responseCodeVariable) {\r
def method = getClass().getSimpleName() + '.buildDBWorkflowException(' +\r
'execution=' + execution.getId() +\r
', responseCodeVariable=' + responseCodeVariable + ')'\r
/**\r
* Used to create a workflow response in success and failure cases.\r
*/\r
- public void postProcessResponse (Execution execution) {\r
+ public void postProcessResponse (DelegateExecution execution) {\r
def method = getClass().getSimpleName() + '.postProcessResponse(' +'execution=' + execution.getId() +')'\r
def isDebugLogEnabled = execution.getVariable('isDebugLogEnabled')\r
logDebug('Entered ' + method, isDebugLogEnabled)\r