Class ExecutionTimeRecorderFactory
Object
ExecutionTimeRecorderFactory
Creates an instance of
ExecutionTimeRecorder depending in what outputs are enabled.- Author:
- Owen Feehan
-
Method Summary
Modifier and TypeMethodDescriptionstatic ExecutionTimeRecordercreate(boolean executionTimeOutputsEnabled) Creates either aExecutionTimeRecorderthat records times, or ignores the recording depending on whether any output is enabled that needs the execution-time.
-
Method Details
-
create
Creates either aExecutionTimeRecorderthat 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.
-