dataflow
v1b3
|
#include <shell_task.h>
Public Member Functions | |
ShellTask (const Json::Value &storage) | |
ShellTask (Json::Value *storage) | |
virtual | ~ShellTask () |
const StringPiece | GetTypeName () const |
bool | has_command () const |
void | clear_command () |
const StringPiece | get_command () const |
void | set_command (const StringPiece &value) |
bool | has_exit_code () const |
void | clear_exit_code () |
int32 | get_exit_code () const |
void | set_exit_code (int32 value) |
Static Public Member Functions | |
static ShellTask * | New () |
A task which consists of a shell command for the worker to execute.
|
explicit |
Standard constructor for an immutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
explicit |
Standard constructor for a mutable data object instance.
[in] | storage | The underlying data storage for this instance. |
|
virtual |
Standard destructor.
|
inline |
Clears the 'command
' attribute.
|
inline |
Clears the 'exitCode
' attribute.
|
inline |
Get the value of the 'command
' attribute.
|
inline |
Get the value of the 'exitCode
' attribute.
|
inline |
Returns a string denoting the type of this data object.
|
inline |
Determine if the 'command
' attribute was set.
command
' attribute was set.
|
inline |
Determine if the 'exitCode
' attribute was set.
exitCode
' attribute was set.
|
static |
Creates a new default instance.
|
inline |
Change the 'command
' attribute.
The shell command to run.
[in] | value | The new value. |
|
inline |
Change the 'exitCode
' attribute.
Exit code for the task.
[in] | value | The new value. |