if (ArrayUtils.isNotEmpty(capturedData)) {
data = capturedData;
}
}
LocalCommandActionOutput output = new LocalCommandActionOutput();
output.setStatus(status);
output.setData(data);
output.setExceptionClass(exceptionClass);
output.setExceptionMessage(exceptionMessage);
return output;
}