processError("\nEnd time: " + new Date(System.currentTimeMillis()));
processError("\nExit code: " + exitCode);
List<HandleSpec> inputSpecs = command.getHandleSpecs(Handle.INPUT);
HandleSpec inputSpec =
(inputSpecs != null) ? inputSpecs.get(0) : null;
if (inputSpec == null ||
!inputSpec.getSpec().contains("BinaryStorage")) {
processError("\nInput records: " + inputRecords);
}
processError("\nInput bytes: " + inputBytes + " bytes " +
((inputSpec != null) ?
"(" + inputSpec.getName() + " using " +
inputSpec.getSpec() + ")"
: ""));
List<HandleSpec> outputSpecs = command.getHandleSpecs(Handle.OUTPUT);
HandleSpec outputSpec =
(outputSpecs != null) ? outputSpecs.get(0) : null;
if (outputSpec == null ||
!outputSpec.getSpec().contains("BinaryStorage")) {
processError("\nOutput records: " + outputRecords);
}
processError("\nOutput bytes: " + outputBytes + " bytes " +
((outputSpec != null) ?
"(" + outputSpec.getName() + " using " +
outputSpec.getSpec() + ")"
: ""));
if (outputSpecs != null) {
for (int i=1; i < outputSpecs.size(); ++i) {
HandleSpec spec = outputSpecs.get(i);
processError("\n " + new File(spec.getName()).length()
+ " bytes using " + spec.getSpec());
}
}
processError("\n===== * * * =====\n");
}