Package 

Class OmnitureComponent.DefaultMediaNameFactory

  • All Implemented Interfaces:
    com.brightcove.omniture.OmnitureComponent.MediaNameFactory

    
    public class OmnitureComponent.DefaultMediaNameFactory
     implements OmnitureComponent.MediaNameFactory
                        

    Default implementation of MediaNameFactory which follows these steps:

    • If video exists and has an ID property as identified by Video.Fields.ID, use it
    • Otherwise if given a Source object, presumably the one chosen by the currentSourceSelector implementation, use the URL from that Source
    • Otherwise fall back to the DEFAULT_MEDIA_NAME constant value
    • Method Summary

      Modifier and Type Method Description
      String build(Video video)
      String build(Video video, Source source)
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait