|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.core.pipes.PipeReporter
public class PipeReporter
Creates a reporter and add to the channel.
| Field Summary | |
|---|---|
static String |
REPORTER
Source. |
| Constructor Summary | |
|---|---|
PipeReporter()
|
|
| Method Summary | |
|---|---|
static IChannel |
bind(IChannel channel,
IReporter obj)
Bind the object to the channel. |
boolean |
check(IChannel channel)
Check if a pipe must perform something on channel. |
protected IReporter |
createReporter()
Creates a reporter instance. |
static IReporter |
lookup(IChannel channel)
Recover the reporter 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 REPORTER
| Constructor Detail |
|---|
public PipeReporter()
| 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 IReporter createReporter()
throws SourceDumperException
SourceDumperException - On creation error.
public static IChannel bind(IChannel channel,
IReporter obj)
channel - The channel.obj - The object.
public static IReporter 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 | |||||||||