private boolean doDeleteTmpFiles() { boolean success = true; for (CustomParameterValue tmpParam : contextProvider.getTmpContext().getAllParameters()) { if (tmpParam.isDeleteOnExit()) { success &= doDeleteTmpFile(tmpParam.getValue()); } } for (CustomParameterValue paramValue : contextProvider.getDynamicContext().getAllParameters()) { if (paramValue.isDeleteOnExit()) { success &= doDeleteTmpFile(paramValue.getValue()); } } return success; }