public abstract class AbstractPipeModel extends Object implements IPipe
| Constructor and Description |
|---|
AbstractPipeModel() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
check(IChannel channel)
Check if a pipe must perform something on channel.
|
IChannel |
process(IChannel channel)
Perform some transformation over the channel.
|
abstract IChannel |
process(IChannel channel,
Map<String,Object> model)
Process the channel with the model already recovered.
|
public boolean check(IChannel channel) throws AbortException
IPipecheck in interface IPipechannel - The information channel.AbortException - If the channel is corrupted.public IChannel process(IChannel channel) throws PipelineException
IPipeprocess in interface IPipechannel - The channel.PipelineException - On processing errors.public abstract IChannel process(IChannel channel, Map<String,Object> model) throws PipelineException
channel - The pipeline channel.model - The model.PipelineException - On pipeline errors.Copyright © 2016. All rights reserved.