public class PipeTimestamp extends AbstractPipeModel
| Modifier and Type | Field and Description |
|---|---|
static String |
DATE
Time model information.
|
protected SimpleDateFormat |
sdf
Report date format.
|
| Constructor and Description |
|---|
PipeTimestamp() |
| Modifier and Type | Method and Description |
|---|---|
protected SimpleDateFormat |
createFormatter()
Creates the formatter.
|
static Long |
lookup(IChannel channel)
Recover time stamp from channel.
|
IChannel |
process(IChannel channel,
Map<String,Object> model)
Process the channel with the model already recovered.
|
check, processpublic static final String DATE
protected SimpleDateFormat sdf
protected SimpleDateFormat createFormatter()
public IChannel process(IChannel channel, Map<String,Object> model) throws PipelineException
AbstractPipeModelprocess in class AbstractPipeModelchannel - The pipeline channel.model - The model.PipelineException - On pipeline errors.public static Long lookup(IChannel channel) throws NotFoundException, InvalidTypeException
channel - The channel.NotFoundException - On lookup errors.InvalidTypeException - On type errors.Copyright © 2016. All rights reserved.