|
|||||||||||
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.AnnoyingPipelineElement
PipelineElement that repeatedly plays the results of a Query. This will tend to become
intensely annoying especially if the query is something like: SELECT Title WHERE
Title = "%blobby%"
Field Summary |
Fields inherited from class com.neoworks.jukex.tracksource.TrackSourcePipelineElementSkeleton |
name |
Constructor Summary | |
AnnoyingPipelineElement()
Public constructor |
|
AnnoyingPipelineElement(Query q)
Public constructor |
Method Summary | |
java.lang.Object |
clone()
Clone this AnnoyingPipelineElement |
java.lang.String |
getDescription()
Return a String describing what, in general terms, this TrackSource does |
Track |
getNextTrack()
Get the next Track |
java.lang.String |
getQueryString()
Get the original JukeXQL query String |
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 |
java.util.List |
peekTracks(int count)
Peek up the track list |
void |
setQuery(Query q)
Set the query |
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 |
Methods inherited from interface com.neoworks.jukex.tracksource.TrackSourcePipelineElement |
disable, enable, getNextTrackSource, removeTrack, setName, setNextTrackSource, setOwner, storeState |
Methods inherited from interface com.neoworks.jukex.tracksource.TrackSource |
getName, isEnabled |
Constructor Detail |
public AnnoyingPipelineElement()
public AnnoyingPipelineElement(Query q)
q
- The query to executeMethod Detail |
public void setQuery(Query q)
setQuery
in interface SearchPipelineElement
q
- The new querypublic java.util.Map getState()
getState
in interface TrackSourcePipelineElement
getState
in class TrackSourcePipelineElementSkeleton
public boolean setState(java.util.Map state)
setState
in interface TrackSourcePipelineElement
setState
in class TrackSourcePipelineElementSkeleton
state
- a Map of values keyed by Strings representing the state of this PipelineElement.
public Track getNextTrack()
getNextTrack
in interface TrackSource
public java.util.List peekTracks(int count)
peekTracks
in interface TrackSourcePipelineElement
count
- The number of tracks to peek
public java.lang.String getQueryString()
SearchPipelineElement
getQueryString
in interface SearchPipelineElement
public java.lang.Object clone()
clone
in interface TrackSource
clone
in class TrackSourcePipelineElementSkeleton
public java.lang.String getDescription()
getDescription
in interface TrackSource
public java.lang.String getSummary()
getSummary
in interface TrackSource
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |