Class RecordingStateUpdate

java.lang.Object
org.opencastproject.capture.admin.impl.RecordingStateUpdate

public class RecordingStateUpdate extends Object
A representation of an recording which stores its id, state and time-since-last-update value
  • Constructor Details

    • RecordingStateUpdate

      public RecordingStateUpdate()
      Required zero-arg. constructor. Do not use
    • RecordingStateUpdate

      public RecordingStateUpdate(Recording r)
      Builds an RecordingStateUpdate object about the Recording r. This calculates the time delta for you.
      Parameters:
      r - The recording you wish to know more information about
  • Method Details

    • getId

      public String getId()
      Returns the recording id.
      Returns:
      the id
    • getState

      public String getState()
      Reuturns the recording state.
      Returns:
      the state
    • getTimeSinceLastUpdate

      public Long getTimeSinceLastUpdate()
      Returns the time where the recording was last updated.
      Returns:
      the update time