root
Toggle table of contents
goblin-common
Target filter
goblin-common
Switch theme
Search in API
Skip to content
root
root
/
fi.utu.tech.powergoblin.common.utils
/
Processor
Processor
goblin-common
open
class
Processor
(
val
executor
:
ExecutorService
,
defaultTimeOut
:
Long
=
6
,
val
printErrors
:
Boolean
=
true
,
val
lineReader
:
(
String
)
->
Any
?
=
null
)
Inheritors
Collector
Members
Constructors
Processor
Link copied to clipboard
goblin-common
constructor
(
executor
:
ExecutorService
,
defaultTimeOut
:
Long
=
6
,
printErrors
:
Boolean
=
true
,
lineReader
:
(
String
)
->
Any
?
=
null
)
Types
My
Process
Link copied to clipboard
goblin-common
inner
class
MyProcess
(
val
args
:
List
<
String
>
,
val
timeout
:
Long
,
workDir
:
Path
)
:
Closeable
Properties
executor
Link copied to clipboard
goblin-common
val
executor
:
ExecutorService
line
Reader
Link copied to clipboard
goblin-common
val
lineReader
:
(
String
)
->
Any
?
=
null
print
Errors
Link copied to clipboard
goblin-common
val
printErrors
:
Boolean
=
true
Functions
run
Link copied to clipboard
goblin-common
fun
run
(
args
:
List
<
String
>
,
timeout
:
Long
=
defaultTimeOut
,
workPath
:
Path
=
Path.of(".")
)
:
ByteArray