Class CommandLineBuilder
java.lang.Object
org.apache.hadoop.yarn.service.containerlaunch.CommandLineBuilder
- Direct Known Subclasses:
JavaCommandLineBuilder
Build a single command line to include in the container commands;
Special support for JVM command buildup.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
argumentList
-
-
Constructor Details
-
CommandLineBuilder
public CommandLineBuilder()
-
-
Method Details
-
add
Add an entry to the command list- Parameters:
args- arguments -these will be converted strings
-
size
public int size() -
addOutAndErrFiles
Append the output and error files to the tail of the command- Parameters:
stdout- outstderr- error. Set this to null to append into stdout
-
toString
This just returns the command line -
build
Build the command line- Returns:
- the command line
-