public abstract class BaseDataProcessor extends ConfigurableAdapter implements DataProcessor
logger
Constructor and Description |
---|
BaseDataProcessor() |
Modifier and Type | Method and Description |
---|---|
abstract Data |
getData()
Returns the processed Data output.
|
DataProcessor |
getPredecessor()
Returns the predecessor DataProcessor.
|
void |
initialize()
Initializes this DataProcessor.
|
void |
setPredecessor(DataProcessor predecessor)
Sets the predecessor DataProcessor.
|
getName, initLogger, newProperties, toString
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
newProperties
public abstract Data getData() throws DataProcessingException
getData
in interface DataProcessor
DataProcessingException
- if a data processor error occurspublic void initialize()
initialize
in interface DataProcessor
public DataProcessor getPredecessor()
getPredecessor
in interface DataProcessor
public void setPredecessor(DataProcessor predecessor)
setPredecessor
in interface DataProcessor
predecessor
- the new predecessor of this DataProcessor