|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.specrunner.core.pipes.AbstractPipeModel
org.specrunner.core.pipes.PipeTimestamp
public class PipeTimestamp
Adds a time stamp tag to the channel.
| Field Summary | |
|---|---|
static String |
DATE
Time model information. |
protected SimpleDateFormat |
sdf
Report date format. |
| Constructor Summary | |
|---|---|
PipeTimestamp()
|
|
| Method Summary | |
|---|---|
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. |
| Methods inherited from class org.specrunner.core.pipes.AbstractPipeModel |
|---|
check, process |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final String DATE
protected SimpleDateFormat sdf
| Constructor Detail |
|---|
public PipeTimestamp()
| Method Detail |
|---|
protected SimpleDateFormat createFormatter()
public IChannel process(IChannel channel,
Map<String,Object> model)
throws PipelineException
AbstractPipeModel
process 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.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||