public abstract class DockerCommand extends Object
Modifier | Constructor and Description |
---|---|
protected |
DockerCommand(String command) |
Modifier and Type | Method and Description |
---|---|
protected void |
addCommandArguments(String... arguments)
Add command commandWithArguments.
|
String |
getCommandOption()
Returns the docker sub-command string being used, e.g ‘run’.
|
String |
getCommandWithArguments()
Get the full command.
|
protected DockerCommand(String command)
public final String getCommandOption()
Returns the docker sub-command string being used, e.g ‘run’.
protected final void addCommandArguments(String... arguments)
Add command commandWithArguments. This method is only meant for use by sub-classes.
arguments
- to be addedpublic String getCommandWithArguments()
Get the full command.
Copyright © 2022 The Apache Software Foundation. All rights reserved.