| Constructor and Description |
|---|
PipeRunner() |
| Modifier and Type | Method and Description |
|---|---|
static IChannel |
bind(IChannel channel,
IRunner obj)
Bind the object to the channel.
|
boolean |
check(IChannel channel)
Check if a pipe must perform something on channel.
|
protected IRunner |
createRunner(ISource source)
Creates a runner for a source.
|
static IRunner |
lookup(IChannel channel)
Recover a runner from channel.
|
IChannel |
process(IChannel channel)
Perform some transformation over the channel.
|
public static final String RUNNER
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.protected IRunner createRunner(ISource source) throws RunnerException
source - The source.RunnerException - On creation errors.public static IChannel bind(IChannel channel, IRunner obj)
channel - The channel.obj - The object.public static IRunner lookup(IChannel channel) throws NotFoundException, InvalidTypeException
channel - The channel.NotFoundException - On lookup errors.InvalidTypeException - On type erros.Copyright © 2016. All rights reserved.