|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.core.pipes.PipeModel
public class PipeModel
Add a model information to the channel.
| Field Summary | |
|---|---|
static String |
FREE
Free model information. |
static String |
MAX
Max model information. |
static String |
MODEL
Model. |
static String |
TIME
Time model information. |
static String |
TOTAL
Total model information. |
| Constructor Summary | |
|---|---|
PipeModel()
|
|
| Method Summary | |
|---|---|
boolean |
check(IChannel channel)
Check if a pipe must perform something on channel. |
protected Map<String,Object> |
create(IChannel channel)
Creates the default model. |
IChannel |
process(IChannel channel)
Perform some transformation over the channel. |
static Map<String,Object> |
recover(IChannel channel)
Recover the model from 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 MODEL
public static final String TIME
public static final String FREE
public static final String TOTAL
public static final String MAX
| Constructor Detail |
|---|
public PipeModel()
| 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 Map<String,Object> create(IChannel channel)
throws NotFoundException,
InvalidTypeException
channel - The channel.
InvalidTypeException - On type error.
NotFoundException - On not found resources.
public static Map<String,Object> recover(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 | |||||||||