/** * Create an instance of {@link GetMessageLogsResponseMsg } * */ public GetMessageLogsResponseMsg createGetMessageLogsResponseMsg() { return new GetMessageLogsResponseMsg(); }
GetMessageLogsResponseMsg ret = new GetMessageLogsResponseMsg(); ret.setTotalRecords(totalrecords); ret.setClassification(DAS4jBean.getCurrentClassificationLevel()); ret.setLogs((logs));
out += ("Total Records available: " + res.getTotalRecords()); if (res.getLogs() != null && res.getLogs() != null && res.getLogs().getTransactionLog() != null && res.getLogs().getTransactionLog().size() > 0) { out += ("<table border=1><tr>" + "<th>Action</th>" + "<th>SLA Violation</th>" + "<th>Details</th></tr>"); data = res.getLogs().getTransactionLog(); for (int i = 0; i < res.getLogs().getTransactionLog().size(); i++) { out += ("<tr "); colorflag = !colorflag; if (Utility.stringIsNullOrEmpty(res.getLogs().getTransactionLog().get(i).getAction())) { out += "NA</td><td>"; } else { out += (res.getLogs().getTransactionLog().get(i).getAction() + "</td><td>"); if (!res.getLogs().getTransactionLog().get(i).isIsFault()) { out += ("<font color=#FF0000><b>Fault</b></font>"); } else { out += ("Success"); out += ("</td><td>" + Utility.encodeHTML(ParseIdentities(res.getLogs().getTransactionLog().get(i).getIdentity())) + "</td><td>" + res.getLogs().getTransactionLog().get(i).getResponseTime()
if (res!=null && res.getLogs() != null && res.getLogs() != null && res.getLogs().getTransactionLog() != null && res.getLogs().getTransactionLog().size() > 0) { for (int i = 0; i < res.getLogs().getTransactionLog().size(); i++) { String action = res.getLogs().getTransactionLog().get(i).getAction(); int clip = 0; if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("/") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("/"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("}") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("}"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf(":") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf(":"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("#") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("#"); action = (res.getLogs().getTransactionLog().get(i).getAction().substring(clip + 1)); if (res.getLogs().getTransactionLog().get(i).isIsFault()) { set.get(action).success++; } else { t.success = 0; t.failures = 0; if (res.getLogs().getTransactionLog().get(i).isIsFault()) { t.success++; } else {
try { GetMessageLogsResponseMsg ret = new GetMessageLogsResponseMsg(); ret.setTotalRecords(totalrecords); ret.setLogs(logs); ret.setClassification(getCurrentClassificationLevel());
GetMessageLogsResponseMsg res = (GetMessageLogsResponseMsg) params.get("fgsms.data"); TransactionLogData recordset = new TransactionLogData(); if (res != null && res.getLogs() != null && res.getLogs() != null && res.getLogs().getTransactionLog() != null && res.getLogs().getTransactionLog().size() > 0) { for (int i = 0; i < res.getLogs().getTransactionLog().size(); i++) { String action = res.getLogs().getTransactionLog().get(i).getAction(); int clip = 0; if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("/") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("/"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("}") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("}"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf(":") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf(":"); if (res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("#") > clip) { clip = res.getLogs().getTransactionLog().get(i).getAction().lastIndexOf("#"); action = (res.getLogs().getTransactionLog().get(i).getAction().substring(clip + 1)); t2.ResponseTime = res.getLogs().getTransactionLog().get(i).getResponseTime(); t2.cal = res.getLogs().getTransactionLog().get(i).getTimestamp(); if (recordset.Contains(action)) { recordset.get(action).add(t2);