| Modifier and Type | Method and Description |
|---|---|
CommandLine |
CommandLine.add(boolean quote,
Object... arguments)
Adds the specified command line arguments.
|
CommandLine |
CommandLine.add(boolean quote,
Object argument)
Adds the specified command line argument.
|
CommandLine |
CommandLine.add(Object... arguments)
Adds the specified command line arguments.
|
CommandLine |
CommandLine.add(Object argument)
Adds the specified command line argument.
|
CommandLine |
CommandLine.addSub(String name,
Object value)
Adds a variable substitution for the arguments.
|
CommandLine |
ProcessTask.getCommandLine()
Returns the command line of the process.
|
| Modifier and Type | Method and Description |
|---|---|
Future<ProcessTask> |
CommandExec.exec(CommandLine commandLine,
PropertyChangeListener... listeners)
Executes the command specified by the command line.
|
| Modifier and Type | Class and Description |
|---|---|
class |
DefaultCommandLine
Quotes command line arguments.
|
| Modifier and Type | Method and Description |
|---|---|
CommandLine |
DefaultCommandLine.add(boolean quote,
Object... arguments) |
CommandLine |
DefaultCommandLine.add(boolean quote,
Object argument) |
CommandLine |
DefaultCommandLine.add(Object... arguments) |
CommandLine |
DefaultCommandLine.add(Object argument) |
CommandLine |
DefaultCommandLine.addSub(String name,
Object value) |
CommandLine |
DefaultCommandLineFactory.create(File executable)
Create a command line from an executable.
|
CommandLine |
DefaultCommandLineFactory.create(String executable)
Create a command line from an executable.
|
static CommandLine |
DefaultCommandLine.createCommandLine(File executable) |
static CommandLine |
DefaultCommandLine.createCommandLine(String executable) |
| Modifier and Type | Method and Description |
|---|---|
Future<ProcessTask> |
DefaultCommandExec.exec(CommandLine commandLine,
PropertyChangeListener... listeners) |
| Modifier and Type | Method and Description |
|---|---|
CommandLine |
AbstractLogCommandOutput.getCommandLine()
Returns the command line for the logging message.
|
| Modifier and Type | Method and Description |
|---|---|
AbstractLogCommandOutput.DebugLogCommandOutput |
DebugLogCommandOutputFactory.create(org.slf4j.Logger logger,
CommandLine commandLine)
Creates the logger output that logs the output as debug level.
|
AbstractLogCommandOutput.TraceLogCommandOutput |
TraceLogCommandOutputFactory.create(org.slf4j.Logger logger,
CommandLine commandLine)
Creates the logger output that logs the output as trace level.
|
AbstractLogCommandOutput.InfoLogCommandOutput |
InfoLogCommandOutputFactory.create(org.slf4j.Logger logger,
CommandLine commandLine)
Creates the logger output that logs the output as info level.
|
AbstractLogCommandOutput.ErrorLogCommandOutput |
ErrorLogCommandOutputFactory.create(org.slf4j.Logger logger,
CommandLine commandLine)
Creates the logger output that logs the output as error level.
|
static AbstractLogCommandOutput.DebugLogCommandOutput |
AbstractLogCommandOutput.createDebugLogCommandOutput(org.slf4j.Logger logger,
CommandLine commandLine) |
static AbstractLogCommandOutput.ErrorLogCommandOutput |
AbstractLogCommandOutput.createErrorLogCommandOutput(org.slf4j.Logger logger,
CommandLine commandLine) |
static AbstractLogCommandOutput.InfoLogCommandOutput |
AbstractLogCommandOutput.createInfoLogCommandOutput(org.slf4j.Logger logger,
CommandLine commandLine) |
static AbstractLogCommandOutput.TraceLogCommandOutput |
AbstractLogCommandOutput.createTraceLogCommandOutput(org.slf4j.Logger logger,
CommandLine commandLine) |
| Constructor and Description |
|---|
AbstractLogCommandOutput(org.slf4j.Logger logger,
CommandLine commandLine) |
| Modifier and Type | Class and Description |
|---|---|
class |
ScriptCommandLine
Quotes command line arguments.
|
| Modifier and Type | Method and Description |
|---|---|
CommandLine |
ScriptCommandLine.add(boolean quote,
Object... arguments) |
CommandLine |
ScriptCommandLine.add(boolean quote,
Object argument) |
CommandLine |
ScriptCommandLine.add(Object... arguments) |
CommandLine |
ScriptCommandLine.add(Object argument) |
CommandLine |
ScriptCommandLine.addSub(String name,
Object value) |
CommandLine |
ScriptCommandLineFactory.create(String name,
com.anrisoftware.resources.templates.api.TemplateResource template)
Create a command line from a template.
|
static CommandLine |
ScriptCommandLine.createScriptCommandLine(String name,
com.anrisoftware.resources.templates.api.TemplateResource template) |
| Modifier and Type | Method and Description |
|---|---|
Future<ProcessTask> |
ScriptCommandExec.exec(CommandLine commandLine,
PropertyChangeListener... listeners) |
| Modifier and Type | Method and Description |
|---|---|
protected CommandLine |
ScriptExec.createLine(ScriptCommandLineFactory commandLineFactory) |
protected abstract CommandLine |
AbstractProcessExec.createLine(ScriptCommandLineFactory commandLineFactory)
Creates the command line for the process.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
AbstractProcessExec.setupCommandError(ScriptCommandExec script,
CommandLine line) |
protected void |
AbstractProcessExec.setupCommandOutput(ScriptCommandExec script,
CommandLine line) |
Copyright © 2014–2016. All rights reserved.