public class ClipInBucket
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ClipInBucket(Task task)
Construct a bucket attached to the specified task
|
Modifier and Type | Method and Description |
---|---|
void |
empty()
Removes and finalizes all the clip-ins currently in the bucket.
|
ClipInBucket |
extract(Node node)
Extracts a copy of the clip-in bucket for attaching to the data being output from the task, finializing all the
clip-ins in the extracted bucket This method is called when data is output by a unit.
|
ClipInStore |
extractClipInStore() |
java.lang.Object |
getClipIn(java.lang.String name) |
java.lang.String[] |
getClipInNames() |
Task |
getTask() |
void |
insert(ClipInBucket insert,
Node node)
Inserts the clip-ins in the specified clip-in bucket into this bucket, intializing all the clip-ins in the
insertion bucket.
|
boolean |
isAttached() |
boolean |
isClipInName(java.lang.String name) |
void |
putClipIn(java.lang.String name,
java.lang.Object clipin)
Puts the specified clip-in into the bucket, initializing the clip-in being inserted.
|
java.lang.Object |
removeClipIn(java.lang.String name)
Removes the clip-in for the specified name from the bucket.
|
void |
restoreClipInStore(ClipInStore store)
Restores the state stored in a clip-in store
|
public ClipInBucket(Task task)
public Task getTask()
public boolean isAttached()
public void insert(ClipInBucket insert, Node node)
insert
- the clip-ins to be inserted into the bucketnode
- the node the data arrived onpublic ClipInBucket extract(Node node)
node
- the node the data is being output frompublic void empty()
public void putClipIn(java.lang.String name, java.lang.Object clipin)
public java.lang.Object removeClipIn(java.lang.String name)
public java.lang.Object getClipIn(java.lang.String name)
public java.lang.String[] getClipInNames()
public boolean isClipInName(java.lang.String name)
public ClipInStore extractClipInStore()
public void restoreClipInStore(ClipInStore store)