Package org.gradle.exemplar.executor
Class CommandExecutor
java.lang.Object
org.gradle.exemplar.executor.CommandExecutor
- Direct Known Subclasses:
CliCommandExecutor,GradleRunnerCommandExecutor
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionexecute(org.gradle.exemplar.model.Command command, ExecutionMetadata executionMetadata) voidrun(ProcessBuilder processBuilder, OutputStream outputStream) protected CommandExecutor.RunHandlerun(ProcessBuilder processBuilder, OutputStream outputStream, OutputStream errorStream, InputStream inputStream) protected abstract int
-
Constructor Details
-
CommandExecutor
public CommandExecutor() -
CommandExecutor
-
-
Method Details
-
run
-
run
-
run
protected CommandExecutor.RunHandle run(ProcessBuilder processBuilder, OutputStream outputStream, @Nullable OutputStream errorStream, @Nullable InputStream inputStream) -
execute
public CommandExecutionResult execute(org.gradle.exemplar.model.Command command, ExecutionMetadata executionMetadata)
-