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 String
TEST_ERROR_OUTPUT_HEADER
static String
TEST_OUTPUT_HEADER
-
Constructor Summary
Constructors Constructor Description TestOutputMergingIterator(Iterator<LogMessage> iterator)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
hasNext()
LogMessage
next()
void
remove()
-
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:
hasNext
in interfaceIterator<LogMessage>
-
next
public LogMessage next()
- Specified by:
next
in interfaceIterator<LogMessage>
-
remove
public void remove()
- Specified by:
remove
in interfaceIterator<LogMessage>
-
-