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