Class RecordingStateUpdate
java.lang.Object
org.opencastproject.capture.admin.impl.RecordingStateUpdate
A representation of an recording which stores its id, state and time-since-last-update value
-
Constructor Summary
ConstructorsConstructorDescriptionRequired zero-arg. constructor.Builds an RecordingStateUpdate object about the Recording r. -
Method Summary
-
Constructor Details
-
RecordingStateUpdate
public RecordingStateUpdate()Required zero-arg. constructor. Do not use -
RecordingStateUpdate
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
Returns the recording id.- Returns:
- the id
-
getState
Reuturns the recording state.- Returns:
- the state
-
getTimeSinceLastUpdate
Returns the time where the recording was last updated.- Returns:
- the update time
-