|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
java.lang.Object
|
+--com.neoworks.jukex.tracksource.TrackSourcePipelineElementSkeleton
|
+--com.neoworks.jukex.tracksource.FilterPipelineElement
PipelineElement that filters Tracks out of the pipeline according to some scheme.
| Field Summary |
| Fields inherited from class com.neoworks.jukex.tracksource.TrackSourcePipelineElementSkeleton |
name |
| Constructor Summary | |
FilterPipelineElement()
Public constructor |
|
| Method Summary | |
void |
addFilter(TrackFilter f)
Add a TrackFilter |
java.lang.Object |
clone()
Clone this FilterPipelineElement |
java.lang.String |
getDescription()
Return a String describing what, in general terms, this TrackSource does |
Track |
getNextTrack()
Get a track at random |
java.util.Map |
getState()
Get the current state of this PipelineElement for persisting |
java.lang.String |
getSummary()
Return a String summarising the configuration of the task the source is performing |
int |
indexOf(java.lang.Object o)
Get the index of a TrackFilter |
java.util.Iterator |
iterator()
Get an iterator on the TrackFilter List |
java.util.List |
peekTracks(int count)
Peek up the track list |
void |
removeFilter(int index)
Remove a TrackFilter |
boolean |
setState(java.util.Map state)
Load the configuration of this PipelineElement |
| Methods inherited from class com.neoworks.jukex.tracksource.TrackSourcePipelineElementSkeleton |
delegateGetNextTrack, delegatePeekTracks, disable, enable, getName, getNextTrackSource, getOwner, isEnabled, removeTrack, setName, setNextTrackSource, setOwner, storeState |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public FilterPipelineElement()
| Method Detail |
public void addFilter(TrackFilter f)
f - The TrackFilter to addpublic void removeFilter(int index)
index - The index of the trackfilter to removepublic java.util.Iterator iterator()
public int indexOf(java.lang.Object o)
o - The object (TrackFilter) to get the index of
public java.util.Map getState()
getState in interface TrackSourcePipelineElementgetState in class TrackSourcePipelineElementSkeletonpublic boolean setState(java.util.Map state)
setState in interface TrackSourcePipelineElementsetState in class TrackSourcePipelineElementSkeletonstate - a Map of values keyed by Strings representing the state of this PipelineElement.
public Track getNextTrack()
public java.util.List peekTracks(int count)
count - The number of tracks to peek
public java.lang.Object clone()
clone in interface TrackSourceclone in class TrackSourcePipelineElementSkeletonpublic java.lang.String getDescription()
public java.lang.String getSummary()
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||