Class AutomationRemarksDesktopVideoRecordingProvider

java.lang.Object
com.shaft.gui.internal.video.AutomationRemarksDesktopVideoRecordingProvider
All Implemented Interfaces:
com.shaft.gui.internal.video.DesktopVideoRecordingProvider

public class AutomationRemarksDesktopVideoRecordingProvider extends Object implements com.shaft.gui.internal.video.DesktopVideoRecordingProvider
Desktop video provider backed by Automation Remarks and JAVE.

The provider is published by the optional shaft-video module and discovered automatically through ServiceLoader. Engine orchestration and Appium-native recording remain independent of these desktop-only libraries.

  • Constructor Details

    • AutomationRemarksDesktopVideoRecordingProvider

      public AutomationRemarksDesktopVideoRecordingProvider()
  • Method Details

    • startRecording

      public void startRecording()
      Starts a Monte desktop recording for the current test thread.
      Specified by:
      startRecording in interface com.shaft.gui.internal.video.DesktopVideoRecordingProvider
    • stopRecording

      public InputStream stopRecording(boolean testPassed, String recordingName)
      Stops, processes, and MP4-encodes the current thread's desktop recording.
      Specified by:
      stopRecording in interface com.shaft.gui.internal.video.DesktopVideoRecordingProvider
      Parameters:
      testPassed - whether the current test passed
      recordingName - unique name to use when saving the recording
      Returns:
      the encoded recording, or null when it cannot be read
    • isRecording

      public boolean isRecording()
      Reports whether a desktop recording is active for the current test thread.
      Specified by:
      isRecording in interface com.shaft.gui.internal.video.DesktopVideoRecordingProvider
      Returns:
      true when recording; otherwise false