protected static class SystemRegistryImpl.CommandData
extends Object
Holds parsed command data for pipeline execution.
| Constructor and description |
|---|
CommandData(ArgsParser parser, boolean statement, String rawLine, String variable, File file, boolean append, String pipe)Creates a compiled command entry for later execution in a pipeline. |
| Type Params | Return Type | Name and description |
|---|---|---|
|
public boolean |
append()Returns whether output should be appended to the file. |
|
public String[] |
args()Returns the command arguments. |
|
public String |
command()Returns the command name. |
|
public File |
file()Returns the redirect target file. |
|
public String |
pipe()Returns the pipe operator. |
|
public String |
rawLine()Returns the raw command line. |
|
public void |
setPipe(String pipe)Sets the pipe operator for this command. |
|
public String |
toString()Returns a string representation of this command line. |
|
public String |
variable()Returns the variable name for output capture. |
Creates a compiled command entry for later execution in a pipeline.
parser - parser used to derive command metadatastatement - whether the raw line should be treated as a script statementrawLine - raw command or statement textvariable - target variable for captured outputfile - redirect target, when presentappend - whether redirected output should be appendedpipe - pipe operator that follows this commandReturns whether output should be appended to the file.
Returns the command arguments.
Returns the command name.
Returns the redirect target file.
Returns the pipe operator.
Returns the raw command line.
Sets the pipe operator for this command.
pipe - the pipe operatorReturns a string representation of this command line.
Returns the variable name for output capture.
Copyright © 2003-2026 The Apache Software Foundation. All rights reserved.