Class ExecutionTimeRecorderFactory

Object
ExecutionTimeRecorderFactory

public class ExecutionTimeRecorderFactory extends Object
Creates an instance of ExecutionTimeRecorder depending in what outputs are enabled.
Author:
Owen Feehan
  • Method Details

    • create

      public static ExecutionTimeRecorder create(boolean executionTimeOutputsEnabled)
      Creates either a ExecutionTimeRecorder 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 if executionTimeOutputsEnabled==true.