Class ExecutionTimeRecorderFactory
Object
ExecutionTimeRecorderFactory
Creates an instance of
ExecutionTimeRecorder
depending in what outputs are enabled.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionTimeRecorder
create
(boolean executionTimeOutputsEnabled) Creates either aExecutionTimeRecorder
that records times, or ignores the recording depending on whether any output is enabled that needs the execution-time.
-
Method Details
-
create
Creates either aExecutionTimeRecorder
that records times, or ignores the recording depending on whether any output is enabled that needs the execution-time.- Parameters:
executionTimeOutputsEnabled
- whether any relevant output is enabled for the execution-times.- Returns:
- a corresponding instance of
ExecutionTimeRecorder
, newly created ifexecutionTimeOutputsEnabled==true
.
-