hudson.plugins.timestamper.io
| Constructor and Description |
|---|
TimestampsWriter(hudson.model.Run<?,?> build)
Create a time-stamps writer for the given build.
|
TimestampsWriter(hudson.model.Run<?,?> build,
com.google.common.base.Optional<MessageDigest> digest)
Create a time-stamps writer for the given build.
|
| Modifier and Type | Method and Description |
|---|---|
void |
close() |
void |
write(long currentTimeMillis,
int times)
Write a time-stamp for a line of the console log.
|
void |
writeDigest()
Write a time-stamps digest file for the build.
|
public TimestampsWriter(hudson.model.Run<?,?> build)
throws IOException
build - IOExceptionpublic TimestampsWriter(hudson.model.Run<?,?> build,
com.google.common.base.Optional<MessageDigest> digest)
throws IOException
build - digest - (optional)IOExceptionpublic void write(long currentTimeMillis,
int times)
throws IOException
currentTimeMillis - System.currentTimeMillis()times - the number of times to write the time-stampIOExceptionpublic void writeDigest()
throws IOException
IOExceptionpublic void close()
throws IOException
close in interface CloseableIOExceptionCopyright © 2004-2015. All Rights Reserved.