com.adobe.mediacore.timeline.advertising
Class AdBreakPlacement

java.lang.Object
  extended by com.adobe.mediacore.timeline.TimelineOperation
      extended by com.adobe.mediacore.timeline.advertising.AdBreakPlacement
All Implemented Interfaces:
TimelineMarker, Comparable<TimelineOperation>

public final class AdBreakPlacement
extends TimelineOperation
implements TimelineMarker


Field Summary
 
Fields inherited from class com.adobe.mediacore.timeline.TimelineOperation
_placementInformation
 
Constructor Summary
AdBreakPlacement(AdBreak adBreak, PlacementInformation placementInformation)
           
 
Method Summary
 AdBreak getAdBreak()
           
 long getDuration()
          Returns the duration of this timeline marker.
 long getTime()
          Returns the starting time of this timeline marker.
 boolean isValid()
           
 
Methods inherited from class com.adobe.mediacore.timeline.TimelineOperation
compareTo, getPlacement, setPlacement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AdBreakPlacement

public AdBreakPlacement(AdBreak adBreak,
                        PlacementInformation placementInformation)
Method Detail

getAdBreak

public AdBreak getAdBreak()

getTime

public long getTime()
Description copied from interface: TimelineMarker
Returns the starting time of this timeline marker.

Specified by:
getTime in interface TimelineMarker
Returns:
the time.

getDuration

public long getDuration()
Description copied from interface: TimelineMarker
Returns the duration of this timeline marker.

Specified by:
getDuration in interface TimelineMarker
Returns:
the duration.

isValid

public boolean isValid()
Specified by:
isValid in class TimelineOperation