Package com.brightcove.player.edge
Class Catalog.AbstractBuilder<T extends Catalog.AbstractBuilder<T>>
java.lang.Object
com.brightcove.player.edge.Catalog.AbstractBuilder<T>
- Direct Known Subclasses:
AbstractOfflineCatalog.Builder,Catalog.Builder
- Enclosing class:
- Catalog
protected abstract static class Catalog.AbstractBuilder<T extends Catalog.AbstractBuilder<T>>
extends Object
An abstract Builder which sets the bases to create the Catalog object.
-
Constructor Summary
ConstructorsModifierConstructorDescriptionprotectedAbstractBuilder(EventEmitter eventEmitter, String account) -
Method Summary
Modifier and TypeMethodDescriptionbuild()Builds the Catalog object.protected abstract Tself()Returns the instance of itself.setBaseURL(String baseURL) Sets the base url used to make Catalog request to retrieve the Videos and Playlists.Sets the Poly Key associated with the AccountsetProperties(Map<String, String> properties) Sets the properties Map.
-
Constructor Details
-
AbstractBuilder
-
-
Method Details
-
self
Returns the instance of itself. This is a part of the pattern to set the Builder ready for inheritance. -
setPolicy
Sets the Poly Key associated with the Account- Parameters:
policy- the policy key- Returns:
- this builder
-
setBaseURL
Sets the base url used to make Catalog request to retrieve the Videos and Playlists.- Parameters:
baseURL- the base url- Returns:
- this builder
-
setProperties
Sets the properties Map. -
build
Builds the Catalog object.
-