public class SourceCollection extends SourceAwareMetadataObject
SourceAwareMetadataObject.Fields
properties, TAG
Constructor and Description |
---|
SourceCollection(java.util.Map<java.lang.String,java.lang.Object> properties) |
SourceCollection(java.util.Map<java.lang.String,java.lang.Object> properties,
java.util.Set<Source> sources)
Initializes a new SourceCollection with a predefined metadata properties collection and a
predefined Set of Source objects.
|
SourceCollection(java.util.Set<Source> sources,
DeliveryType deliveryType)
Initializes a new SourceCollection with a predefined Set of Source objects all having the
given DeliveryType.
|
SourceCollection(Source source,
DeliveryType deliveryType)
Convenience constructor that initializes the SourceCollection with a single Source (most
commonly used for HTTP Live Streaming which only has a single URL)
|
Modifier and Type | Method and Description |
---|---|
java.util.Set<Source> |
getSources()
Retrieves a collection of Source asset model objects in this SourceCollection.
|
java.lang.String |
toString() |
getDeliveryType, initializeDeliveryType
getIntegerProperty, getIntegerProperty, getProperties, getStringProperty, getStringProperty
public SourceCollection(java.util.Map<java.lang.String,java.lang.Object> properties)
public SourceCollection(java.util.Map<java.lang.String,java.lang.Object> properties, java.util.Set<Source> sources)
properties
- the metadata assigned to this instancesources
- the video asset sources to associate with this SourceCollectionpublic SourceCollection(java.util.Set<Source> sources, DeliveryType deliveryType)
sources
- the video asset sources to associate with this SourceCollectiondeliveryType
- the DeliveryType format for all the given Sourcespublic SourceCollection(Source source, DeliveryType deliveryType)
source
- the single Source for this collectiondeliveryType
- the DeliveryType format for all the given Sourcespublic java.util.Set<Source> getSources()
public java.lang.String toString()
toString
in class MetadataObject