|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectde.ukn.hci.squidy.manager.model.Processable
de.ukn.hci.squidy.manager.model.Pipe
public class Pipe
Pipe.
Date: Feb 14, 2008 Time: 5:51:29 PM
| Field Summary | |
|---|---|
Processable |
source
|
Processable |
target
|
| Fields inherited from class de.ukn.hci.squidy.manager.model.Processable |
|---|
processing, PROPERTY_DELETE, PROPERTY_FAILURE_PUBLISH, PROPERTY_FAILURE_RESOLVE, PROPERTY_PROCESSING_START, PROPERTY_PROCESSING_STOP |
| Constructor Summary | |
|---|---|
Pipe()
|
|
| Method Summary | |
|---|---|
void |
addProcessingFeedback(ProcessingFeedback feedback)
|
void |
delete()
Allows to delete the IProcessable implementing class. |
Collection<Class<? extends IData>> |
getInputTypes()
|
Collection<Class<? extends IData>> |
getOutputTypes()
|
Processable |
getSource()
|
Processable |
getTarget()
|
IDataContainer |
process(IDataContainer dataContainer)
Processes the data container and returns the processed result of the data container. |
void |
publish(IData... data)
Publishs data objects to connected processables. |
void |
publish(IDataContainer dataContainer)
Publishs a data container to connected processables. |
void |
removeProcessingFeedback(ProcessingFeedback feedback)
|
void |
setInputTypes(Collection<Class<? extends IData>> inputTypes)
|
void |
setOutputTypes(Collection<Class<? extends IData>> outputTypes)
|
void |
setSource(Processable source)
|
void |
setTarget(Processable target)
|
void |
start()
Allows to start the IProcessable implementing class. |
void |
stop()
Allows to stop the IProcessable implementing class. |
String |
toString()
|
| Methods inherited from class de.ukn.hci.squidy.manager.model.Processable |
|---|
addPropertyChangeListener, addPropertyChangeListener, addSubProcessable, firePropertyChange, getId, getParent, getSubProcessables, isProcessing, postStopSubProcessables, preStartSubProcessables, publishFailure, removeStateChangeListener, removeStateChangeListener, removeSubProcessable, resolveFailure, setId, setParent, setSubProcessables |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Processable source
public Processable target
| Constructor Detail |
|---|
public Pipe()
| Method Detail |
|---|
public Processable getSource()
public void setSource(Processable source)
source - public Processable getTarget()
public void setTarget(Processable target)
public final Collection<Class<? extends IData>> getInputTypes()
public final void setInputTypes(Collection<Class<? extends IData>> inputTypes)
inputTypes - the inputTypes to setpublic final Collection<Class<? extends IData>> getOutputTypes()
public final void setOutputTypes(Collection<Class<? extends IData>> outputTypes)
outputTypes - the outputTypes to setpublic IDataContainer process(IDataContainer dataContainer)
IProcessable
process in interface IProcessable<Processable>dataContainer - The data container to be processed.
public void publish(IData... data)
IProcessable
publish in interface IProcessable<Processable>data - The data objects to be published.public void publish(IDataContainer dataContainer)
IProcessable
publish in interface IProcessable<Processable>
public void start()
throws ProcessException
ILaunchableIProcessable implementing class.
start in interface ILaunchablestart in class ProcessableProcessException - Exception can occur while trying to start
the IProcessable.
public void stop()
throws ProcessException
ILaunchableIProcessable implementing class.
stop in interface ILaunchablestop in class ProcessableProcessException - Exception can occur while trying to stop
the IProcessable.
public void delete()
throws ProcessException
ILaunchableIProcessable implementing class.
delete in interface ILaunchabledelete in class ProcessableProcessException - Exception can occur while trying to stop
the IProcessable.public void addProcessingFeedback(ProcessingFeedback feedback)
addProcessingFeedback in interface ProcessingFeedbackablepublic void removeProcessingFeedback(ProcessingFeedback feedback)
removeProcessingFeedback in interface ProcessingFeedbackablepublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||