Class InsideBlockMessageIterator
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.InsideBlockMessageIterator
-
- All Implemented Interfaces:
Iterator<LogMessage>
,LogIterator
public class InsideBlockMessageIterator extends Object implements LogIterator
-
-
Constructor Summary
Constructors Constructor Description InsideBlockMessageIterator(int blockIndex, BuildLog buildLog)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getCurrentIndex()
Returns the index of the message returned by the last call to theIterator.next()
, or -1 if no calls were made yet.LogMessage
getRoot()
boolean
hasNext()
LogMessage
next()
-
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
-
-
-
-
Constructor Detail
-
InsideBlockMessageIterator
public InsideBlockMessageIterator(int blockIndex, @NotNull BuildLog buildLog)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNext
in interfaceIterator<LogMessage>
-
next
public LogMessage next()
- Specified by:
next
in interfaceIterator<LogMessage>
-
getCurrentIndex
public int getCurrentIndex()
Description copied from interface:LogIterator
Returns the index of the message returned by the last call to theIterator.next()
, or -1 if no calls were made yet.- Specified by:
getCurrentIndex
in interfaceLogIterator
-
getRoot
@Nullable public LogMessage getRoot()
-
-