Package com.brightcove.omniture
Class OmnitureComponent.DefaultMediaNameFactory
java.lang.Object
com.brightcove.omniture.OmnitureComponent.DefaultMediaNameFactory
- All Implemented Interfaces:
OmnitureComponent.MediaNameFactory
- Enclosing class:
- OmnitureComponent
public static class OmnitureComponent.DefaultMediaNameFactory
extends Object
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 current SourceSelector implementation, use the URL from that Source
- Otherwise fall back to the DEFAULT_MEDIA_NAME constant value
-
Field Summary
-
Constructor Summary
-
Method Summary
-
Field Details
-
TAG
-
DEFAULT_MEDIA_NAME
- See Also:
-
-
Constructor Details
-
DefaultMediaNameFactory
public DefaultMediaNameFactory()
-
-
Method Details
-
build
- Specified by:
build
in interfaceOmnitureComponent.MediaNameFactory
-
build
- Specified by:
build
in interfaceOmnitureComponent.MediaNameFactory
-