private TabularResultData getSharedConfigurationStatus(Set<DistributedMember> locators) { boolean isSharedConfigRunning = false; ResultCollector<?,?> rc = CliUtil.executeFunction(fetchSharedConfigStatusFunction, null, locators); List<CliFunctionResult> results = (List<CliFunctionResult>)rc.getResult(); TabularResultData table = ResultBuilder.createTabularResultData(); table.setHeader("Status of shared configuration on locators"); for (CliFunctionResult result : results) { table.accumulate(CliStrings.STATUS_SHARED_CONFIG_NAME_HEADER, result.getMemberIdOrName()); String status = (String) result.getSerializables()[0]; table.accumulate(CliStrings.STATUS_SHARED_CONFIG_STATUS, status); if (SharedConfigurationStatus.RUNNING.name().equals(status)) { isSharedConfigRunning = true; } } if (!isSharedConfigRunning) { table.setStatus(Status.ERROR); } return table; }
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else { AsyncEventQueueDetails[] details = (AsyncEventQueueDetails[]) result.getSerializables();
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else { AsyncEventQueueDetails[] details = (AsyncEventQueueDetails[]) result.getSerializables();
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else { String[] strings = (String[]) result.getSerializables();
result = ResultBuilder.buildResult(infoData); } else { errorTable.setStatus(Result.Status.ERROR); result = ResultBuilder.buildResult(errorTable);
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else { String[] strings = (String[]) result.getSerializables();
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else if (result.isSuccessful()) { tabularData.accumulate("Member", result.getMemberIdOrName());
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else { String[] strings = (String[]) result.getSerializables();
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else { String[] strings = (String[]) result.getSerializables();
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else if (result.isSuccessful()) { tabularData.accumulate("Member", result.getMemberIdOrName());
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else if (result.getMessage() != null) { tabularData.accumulate("Member", result.getMemberIdOrName());
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else if (result.isSuccessful()) { tabularData.accumulate("Member", result.getMemberIdOrName());
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else if (result.isSuccessful()) { tabularData.accumulate("Member", result.getMemberIdOrName());
tabularData.accumulate("Function", "<ERROR: " + result.getThrowable().getMessage() + ">"); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else if (result.isSuccessful()) { String[] strings = (String[]) result.getSerializables();
tabularData.accumulate("Function", "<ERROR: " + result.getThrowable().getMessage() + ">"); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else if (result.isSuccessful()) { String[] strings = (String[]) result.getSerializables();
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else if (result.getMessage() != null) { tabularData.accumulate("Member", result.getMemberIdOrName());
} else { tabularResultData.accumulate("Status", errorPrefix + regionAlterResult.getMessage()); tabularResultData.setStatus(Status.ERROR);
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else { String[] strings = (String[]) result.getSerializables();
+ result.getThrowable().getMessage()); accumulatedData = true; tabularData.setStatus(Status.ERROR); } else { String[] strings = (String[]) result.getSerializables();