public class DockerExecutable extends Object implements Executable
Modifier and Type | Class and Description |
---|---|
static class |
DockerExecutable.Builder |
Constructor and Description |
---|
DockerExecutable(DockerConfiguration dockerConfiguration) |
Modifier and Type | Method and Description |
---|---|
static DockerExecutable.Builder |
builder() |
String |
commandName() |
DockerConfiguration |
dockerConfiguration() |
protected String |
dockerPath() |
Process |
execute(String... commands) |
public DockerExecutable(DockerConfiguration dockerConfiguration)
public DockerConfiguration dockerConfiguration()
public final String commandName()
commandName
in interface Executable
protected String dockerPath()
public Process execute(String... commands) throws IOException
execute
in interface Executable
IOException
public static DockerExecutable.Builder builder()
Copyright © 2020 Pivotal Software, Inc.. All rights reserved.