|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
An object which can be present in a pipeline of TrackSources.
Method Summary | |
void |
disable()
Disable this element |
void |
enable()
Enable this element |
TrackSourcePipelineElement |
getNextTrackSource()
Get the next TrackSourcePipelineElement |
java.util.Map |
getState()
Get the current state of this PipelineElement for persisting |
java.util.List |
peekTracks(int count)
Peek at the next count tracks from this TrackSourcePipelineElement |
boolean |
removeTrack(int index)
Remove a Track from this PipelineElement |
void |
setName(java.lang.String name)
Set the name of this element |
TrackSourcePipelineElement |
setNextTrackSource(TrackSourcePipelineElement next)
Tells this tracksource of a new link in the chain |
TrackSourcePipelineElement |
setOwner(TrackSourcePipeline pipe)
Set which TrackSourcePipeline this PipelineElement is currently a part of |
boolean |
setState(java.util.Map state)
Load the configuration of this PipelineElement |
boolean |
storeState(java.sql.Connection conn)
Persist the current state of the PipelineElement into the database |
Methods inherited from interface com.neoworks.jukex.tracksource.TrackSource |
clone, getDescription, getName, getNextTrack, getSummary, isEnabled |
Method Detail |
public TrackSourcePipelineElement setNextTrackSource(TrackSourcePipelineElement next)
public TrackSourcePipelineElement getNextTrackSource()
public boolean removeTrack(int index)
index
- The index of the Track to remove
public java.util.List peekTracks(int count)
count
- The number of Tracks to peek ahead at
public TrackSourcePipelineElement setOwner(TrackSourcePipeline pipe)
pipe
- The TrackSourcePipeline to which you now belong
public java.util.Map getState()
public boolean setState(java.util.Map state)
state
- a Map of values keyed by Strings representing the state of this PipelineElement.
public boolean storeState(java.sql.Connection conn)
conn
- The database connection to use, which must have AutoCommit disabled
public void disable()
public void enable()
public void setName(java.lang.String name)
name
- The name of this Pipeline Element
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |