com.adobe.mediacore.timeline
Class TimelineOperation
java.lang.Object
com.adobe.mediacore.timeline.TimelineOperation
- All Implemented Interfaces:
- Comparable<TimelineOperation>
- Direct Known Subclasses:
- AdBreakPlacement
public abstract class TimelineOperation
- extends Object
- implements Comparable<TimelineOperation>
Base class for all operations which affect the timeline.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
_placementInformation
protected PlacementInformation _placementInformation
TimelineOperation
protected TimelineOperation(PlacementInformation placement)
- Default constructor
- Parameters:
placement
- the location where this operation will take place.
- Throws:
IllegalArgumentException
- if placement is null.
getPlacement
public PlacementInformation getPlacement()
- Location where this operation will take place.
- Returns:
- the placement of the operation.
setPlacement
public void setPlacement(PlacementInformation placement)
compareTo
public int compareTo(TimelineOperation another)
- Specified by:
compareTo
in interface Comparable<TimelineOperation>
isValid
public abstract boolean isValid()