public class RunCommand extends Command
| Constructor and Description |
|---|
RunCommand(String imageName) |
| Modifier and Type | Method and Description |
|---|---|
String |
execute() |
RunCommand |
withEnvironmentVariable(String name,
String value) |
RunCommand |
withEnvironmentVariables(Map<String,String> environmentVariables) |
RunCommand |
withExposedPorts(String portsToExpose,
boolean randomize) |
addOptionspublic RunCommand(String imageName)
public String execute()
public RunCommand withExposedPorts(String portsToExpose, boolean randomize)
public RunCommand withEnvironmentVariable(String name, String value)
public RunCommand withEnvironmentVariables(Map<String,String> environmentVariables)
Copyright © 2018. All rights reserved.