public CommandResult(byte[] command, int exitValue, long start) { this.stop = System.currentTimeMillis(); Assert.isTrue(stop >= start); Assert.noNulls(command); Assert.noNegatives(start); this.command = command; this.exitValue = exitValue; this.start = start; this.elapsed = stop - start; }