Class TestOutputMergingIterator
- java.lang.Object
-
- jetbrains.buildServer.serverSide.buildLog.TestOutputMergingIterator
-
- All Implemented Interfaces:
Iterator<LogMessage>
public class TestOutputMergingIterator extends Object implements Iterator<LogMessage>
Iterates over all delegated iterator messages merging some of them (stdout/stderr) into the one message.
-
-
Field Summary
Fields Modifier and Type Field Description static StringTEST_ERROR_OUTPUT_HEADERstatic StringTEST_OUTPUT_HEADER
-
Constructor Summary
Constructors Constructor Description TestOutputMergingIterator(Iterator<LogMessage> iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanhasNext()LogMessagenext()voidremove()-
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
-
-
-
-
Field Detail
-
TEST_OUTPUT_HEADER
@NonNls public static final String TEST_OUTPUT_HEADER
- See Also:
- Constant Field Values
-
TEST_ERROR_OUTPUT_HEADER
@NonNls public static final String TEST_ERROR_OUTPUT_HEADER
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
TestOutputMergingIterator
public TestOutputMergingIterator(@NotNull Iterator<LogMessage> iterator)
-
-
Method Detail
-
hasNext
public boolean hasNext()
- Specified by:
hasNextin interfaceIterator<LogMessage>
-
next
public LogMessage next()
- Specified by:
nextin interfaceIterator<LogMessage>
-
remove
public void remove()
- Specified by:
removein interfaceIterator<LogMessage>
-
-