|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.core.pipes.PipeResult
public class PipeResult
Bind a result to the channel.
| Field Summary | |
|---|---|
static String |
RESULT
Source. |
| Constructor Summary | |
|---|---|
PipeResult()
|
|
| Method Summary | |
|---|---|
static void |
bind(IChannel channel,
IResultSet result)
Bind the result set to the channel. |
boolean |
check(IChannel channel)
Check if a pipe must perform something on channel. |
protected IResultSet |
createResult()
Create a result instance. |
static IResultSet |
lookup(IChannel channel)
Recover the result set from channel. |
IChannel |
process(IChannel channel)
Perform some transformation over the channel. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String RESULT
| Constructor Detail |
|---|
public PipeResult()
| Method Detail |
|---|
public boolean check(IChannel channel)
throws AbortException
IPipe
check in interface IPipechannel - The information channel.
AbortException - If the channel is corrupted.
public IChannel process(IChannel channel)
throws PipelineException
IPipe
process in interface IPipechannel - The channel.
PipelineException - On processing errors.protected IResultSet createResult()
public static void bind(IChannel channel,
IResultSet result)
channel - The channel.result - The result set.
public static IResultSet lookup(IChannel channel)
throws NotFoundException,
InvalidTypeException
channel - The channel.
NotFoundException - On lookup errors.
InvalidTypeException - On type errors.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||