Class CMakeExecutor.StreamPrintService
java.lang.Object
io.github.glorrian.cmakegradleplugin.CMakeExecutor.StreamPrintService
- Enclosing class:
CMakeExecutor
A callable class for use in
ThreadPoolExecutor
Used to print information from input streams (Basic input stream and error input stream)-
Constructor Summary
ConstructorsConstructorDescriptionStreamPrintService(InputStream stream, Consumer<? super String> executable) Accepts an input stream and a function to print this stream -
Method Summary
Modifier and TypeMethodDescriptioncall()Method for using inAbstractExecutorService.submit(Callable)
-
Constructor Details
-
StreamPrintService
Accepts an input stream and a function to print this stream- Parameters:
stream-InputStreamprovides information from command executionexecutable- A function withConsumertype to print information fromInputStream
-
-
Method Details
-
call
Method for using inAbstractExecutorService.submit(Callable)
-