Interface ScheduleConfig.Builder

  • Method Details

    • scheduleExpression

      ScheduleConfig.Builder scheduleExpression(String scheduleExpression)

      The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent. If the ScheduleExpression is not provided for the RecorderConfig, then the Edge Agent will always be set to recording mode.

      For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.

      Parameters:
      scheduleExpression - The Quartz cron expression that takes care of scheduling jobs to record from the camera, or local media file, onto the Edge Agent. If the ScheduleExpression is not provided for the RecorderConfig, then the Edge Agent will always be set to recording mode.

      For more information about Quartz, refer to the Cron Trigger Tutorial page to understand the valid expressions and its use.

      Returns:
      Returns a reference to this object so that method calls can be chained together.
    • durationInSeconds

      ScheduleConfig.Builder durationInSeconds(Integer durationInSeconds)

      The total duration to record the media. If the ScheduleExpression attribute is provided, then the DurationInSeconds attribute should also be specified.

      Parameters:
      durationInSeconds - The total duration to record the media. If the ScheduleExpression attribute is provided, then the DurationInSeconds attribute should also be specified.
      Returns:
      Returns a reference to this object so that method calls can be chained together.