Service
and supporting classes allow execution of
system commands.See: Description
Interface | Description |
---|---|
CommandArgument |
Interface for providing command line arguments to the
SystemCommandExecutorService |
CommandBuilder |
Interface for building a process.
|
CommandOutputCapture |
Interface for capturing output from a process.
|
Class | Description |
---|---|
AddMetaDataValue |
Implementation of
CommandOutputCapture that saves the output of the system command to a metadata value |
DefaultCommandBuilder |
Default implementation of
CommandBuilder |
IgnoreOutput |
Null implementation of
CommandOutputCapture |
MetadataCommandArgument |
Provides the metadata value associated with the specified key as a command line argument
|
OverwritePayload |
Implementation of
CommandOutputCapture that overwrites the existing message with the output. |
StaticCommandArgument |
Returns a fixed value for this command line argument.
|
SystemCommandExecutorService |
Service that runs the specified system executable with the provided arguments, optionally
capturing the output.
|
Service
and supporting classes allow execution of
system commands.
You should take care when configuring these classes; it can present an audit trail issue when
used in combination with DynamicServiceExecutor
if the
command(s) that are executed are not properly configured or validated. All commands will be
executed with the current users permissions and subject to the virtual machines security manager.