public abstract class ExecutionOutcome
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private long |
executionTimeNanos
The execution time, in nanoseconds.
|
(package private) @Nullable java.lang.String |
output
The standard output and error output of executing the sequence.
|
Modifier | Constructor and Description |
---|---|
protected |
ExecutionOutcome(long executionTimeNanos)
Creates a new ExecutionOutcome.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
get_output()
Retrieve the output of the statement.
|
long |
getExecutionTimeNanos()
How long the associated statement took to execute, in nanoseconds.
|
void |
set_output(java.lang.String output)
Set the output of the statement.
|
private final long executionTimeNanos
@Nullable java.lang.String output
GenInputsAbstract.capture_output
is true.protected ExecutionOutcome(long executionTimeNanos)
executionTimeNanos
- the execution time, in nanosecondspublic long getExecutionTimeNanos()
public void set_output(java.lang.String output)
output
- the statement outputpublic java.lang.String get_output()