public static class SshCommandContext.Builder
extends com.atlassian.bitbucket.util.BuilderSupport
Constructor and Description |
---|
Builder(String command,
InputStream stdin,
OutputStream stdout,
OutputStream stderr) |
Modifier and Type | Method and Description |
---|---|
SshCommandContext |
build() |
SshCommandContext.Builder |
environment(Map<String,String> values) |
SshCommandContext.Builder |
environment(String key,
String value) |
public Builder(@Nonnull String command, @Nonnull InputStream stdin, @Nonnull OutputStream stdout, @Nonnull OutputStream stderr)
@Nonnull public SshCommandContext build()
@Nonnull public SshCommandContext.Builder environment(@Nonnull Map<String,String> values)
Copyright © 2024 Atlassian. All rights reserved.