@InterfaceAudience.Private @InterfaceStability.Unstable public abstract class DockerCommand extends Object
Modifier | Constructor and Description |
---|---|
protected |
DockerCommand(String command) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCommandArguments(String key,
String value)
Add command commandWithArguments - this method is only meant for use by
sub-classes.
|
String |
getCommandOption()
Returns the docker sub-command string being used
e.g 'run'.
|
Map<String,List<String>> |
getDockerCommandWithArguments() |
String |
toString() |
protected DockerCommand(String command)
public final String getCommandOption()
protected final void addCommandArguments(String key, String value)
key
- name of the key to be addedvalue
- value of the keyCopyright © 2018 Apache Software Foundation. All Rights Reserved.