Package org.opencastproject.editor.api
Class EditingData
- java.lang.Object
-
- org.opencastproject.editor.api.EditingData
-
public final class EditingData extends Object
Provides access to the parsed editing information
-
-
Field Summary
Fields Modifier and Type Field Description static StringWORKFLOW_ACTIVE
-
Constructor Summary
Constructors Constructor Description EditingData(List<SegmentData> segments, List<TrackData> tracks, List<WorkflowData> workflows, Long duration, String title, String recordingStartDate, String seriesId, String seriesName, Boolean workflowActive)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetPostProcessingWorkflow()Returns the optional workflow to startList<SegmentData>getSegments()Returns a list ofTuplethat each represents a segment.List<TrackData>getTracks()static EditingDataparse(String json)StringtoString()
-
-
-
Field Detail
-
WORKFLOW_ACTIVE
public static final String WORKFLOW_ACTIVE
- See Also:
- Constant Field Values
-
-
Method Detail
-
parse
public static EditingData parse(String json)
-
getSegments
public List<SegmentData> getSegments()
Returns a list ofTuplethat each represents a segment.Tuple.getA()marks the start point,Tuple.getB()the endpoint of the segement.
-
getPostProcessingWorkflow
public String getPostProcessingWorkflow()
Returns the optional workflow to start
-
-