This project has retired. For details please refer to its
Attic page.
ShellTask (REEF 0.14.0 API)
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
-
- All Implemented Interfaces:
- Task
public final class ShellTask
extends Object
implements Task
Execute command, capture its stdout, and return that string to the job driver.
-
-
Method Summary
Methods
Modifier and Type |
Method and Description |
byte[] |
call(byte[] memento)
Execute the shell command and return the result, which is sent back to
the JobDriver and surfaced in the CompletedTask object.
|
-
-
Method Detail
-
call
public byte[] call(byte[] memento)
Execute the shell command and return the result, which is sent back to
the JobDriver and surfaced in the CompletedTask object.
- Specified by:
call
in interface Task
- Parameters:
memento
- ignored.
- Returns:
- byte string containing the stdout from executing the shell command.
- Summary:
- Nested |
- Field |
- Constr |
- Method
- Detail:
- Field |
- Constr |
- Method
Copyright © 2016 The Apache Software Foundation. All rights reserved.