public class FlavorPrioritySelector<T extends MediaPackageElement> extends AbstractMediaPackageElementSelector<T>
MediaPackageElements from a MediaPackage, following
these rules:
excludeTags, flavors, NEGATE_TAG_PREFIX, tags| Constructor and Description |
|---|
FlavorPrioritySelector() |
| Modifier and Type | Method and Description |
|---|---|
Collection<T> |
select(MediaPackage mediaPackage,
boolean withTagsAndFlavors)
This base implementation will return those media package elements that match the type specified as the type
parameter to the class and that flavor (if specified) AND at least one of the tags (if specified) match.
|
addFlavor, addFlavor, addFlavorAt, addFlavorAt, addTag, clearTags, getFlavors, getTags, removeFlavor, removeFlavor, removeFlavorAt, removeTag, select, setFlavorspublic Collection<T> select(MediaPackage mediaPackage, boolean withTagsAndFlavors)
select in interface MediaPackageElementSelector<T extends MediaPackageElement>select in class AbstractMediaPackageElementSelector<T extends MediaPackageElement>mediaPackage - the media packagewithTagsAndFlavors - define if the elements must match with flavors and tags, or just one of these parametersMediaPackageElementSelector.select(org.opencastproject.mediapackage.MediaPackage,
boolean)Copyright © 2009–2021 Opencast Project. All rights reserved.