Class ContinuousExecSpec
- java.lang.Object
-
- io.github.bennofs.gradle.continuous.ContinuousExecSpec
-
public class ContinuousExecSpec extends java.lang.ObjectArguments passed to the continuous exec worker process. The worker is passed an InputStream and an OutputStream. Whenever a change is detected, the list of changed files separated by null bytes is made available on the input stream. The worker should then respond with the line "ok" (without quotes) on the output stream if the changes have been processed. The worker should also send an initial ok after starting up.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.io.InputStreamgetInputStream()java.io.OutputStreamgetOutputStream()
-
-
-
Method Detail
-
getInputStream
public java.io.InputStream getInputStream()
- Returns:
- The input stream receiving commands for the worker (see class description)
-
getOutputStream
public java.io.OutputStream getOutputStream()
- Returns:
- The output stream where the worker should reply after commands (see class description)
-
-