Package org.apache.maven.surefire.booter
Class PpidChecker.ProcessInfoConsumer
java.lang.Object
org.apache.maven.surefire.booter.PpidChecker.ProcessInfoConsumer
- Enclosing class:
- PpidChecker
Reads standard output from
The artifact maven-shared-utils has non-daemon Threads which is an issue in Surefire to satisfy System.exit. This implementation is taylor made without using any Thread. It's easy to destroy Process from other Thread.
Process.
The artifact maven-shared-utils has non-daemon Threads which is an issue in Surefire to satisfy System.exit. This implementation is taylor made without using any Thread. It's easy to destroy Process from other Thread.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) abstract ProcessInfoconsumeLine(String line, ProcessInfo previousProcessInfo) (package private) ProcessInfo
-
Field Details
-
charset
-
hasHeader
boolean hasHeader
-
-
Constructor Details
-
ProcessInfoConsumer
ProcessInfoConsumer(String charset)
-
-
Method Details
-
consumeLine
@Nonnull abstract ProcessInfo consumeLine(String line, ProcessInfo previousProcessInfo) throws Exception - Throws:
Exception
-
execute
-