hudson.plugins.timestamper.io
public final class TimestampsReader extends Object implements Serializable
| Constructor and Description |
|---|
TimestampsReader(hudson.model.Run<?,?> build)
Create a time-stamps reader for the given build.
|
public TimestampsReader(hudson.model.Run<?,?> build)
build - public void skip(int count)
throws IOException
count - the number of time-stamp entries to skipIOExceptionpublic com.google.common.base.Optional<Timestamp> read() throws IOException
Optional.absent() if there are no
more to readIOExceptionpublic List<Timestamp> read(int count) throws IOException
count - the number of time-stamps to readcount time-stamps, or fewer if there are
no more to readIOExceptionCopyright © 2004-2015. All Rights Reserved.