Package org.apache.maven.surefire.booter
Class ForkedNodeArg
java.lang.Object
org.apache.maven.surefire.booter.ForkedNodeArg
- All Implemented Interfaces:
ForkNodeArguments
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final int
private final boolean
private final ConsoleLogger
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondumpStreamText
(String text) int
The index of the forked JVM, from 1 to N.void
logWarningAtEnd
(String text)
-
Field Details
-
forkChannelId
private final int forkChannelId -
logger
-
isDebug
private final boolean isDebug
-
-
Constructor Details
-
ForkedNodeArg
public ForkedNodeArg(int forkChannelId, boolean isDebug)
-
-
Method Details
-
getSessionId
- Specified by:
getSessionId
in interfaceForkNodeArguments
-
getForkChannelId
public int getForkChannelId()Description copied from interface:ForkNodeArguments
The index of the forked JVM, from 1 to N.- Specified by:
getForkChannelId
in interfaceForkNodeArguments
- Returns:
- index of the forked JVM
-
dumpStreamText
- Specified by:
dumpStreamText
in interfaceForkNodeArguments
-
dumpStreamException
- Specified by:
dumpStreamException
in interfaceForkNodeArguments
-
logWarningAtEnd
- Specified by:
logWarningAtEnd
in interfaceForkNodeArguments
-
getConsoleLogger
- Specified by:
getConsoleLogger
in interfaceForkNodeArguments
-
getConsoleLock
- Specified by:
getConsoleLock
in interfaceForkNodeArguments
-
getEventStreamBinaryFile
- Specified by:
getEventStreamBinaryFile
in interfaceForkNodeArguments
-
getCommandStreamBinaryFile
- Specified by:
getCommandStreamBinaryFile
in interfaceForkNodeArguments
-