Class LogMessageIterator
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.LogMessageIterator
-
- All Implemented Interfaces:
Iterator<LogMessage>,LogIterator
@ThreadSafe public final class LogMessageIterator extends Object implements LogIterator
Converts the low-levelLogMessageInfomessages iterator to the higher-levelLogMessageiterator.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetCurrentIndex()Returns the index of the message returned by the last call to theIterator.next(), or -1 if no calls were made yet.List<BlockLogMessage>getOpenedBlocks()Returns all opened blocks form all parallel flowsbooleanhasNext()LogMessagenext()-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<LogMessage>
-
next
public LogMessage next()
- Specified by:
nextin interfaceIterator<LogMessage>
-
getCurrentIndex
public int getCurrentIndex()
Description copied from interface:LogIteratorReturns the index of the message returned by the last call to theIterator.next(), or -1 if no calls were made yet.- Specified by:
getCurrentIndexin interfaceLogIterator
-
getOpenedBlocks
@NotNull public List<BlockLogMessage> getOpenedBlocks()
Returns all opened blocks form all parallel flows
-
-