| Modifier and Type | Field and Description |
|---|---|
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 and Description |
|---|
PipeModel() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
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
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 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.Copyright © 2016. All rights reserved.