Package com.atlassian.bitbucket.scm.ssh
Class SshScmRequestContext.Builder
java.lang.Object
com.atlassian.bitbucket.util.BuilderSupport
com.atlassian.bitbucket.scm.ssh.SshScmRequestContext.Builder
- Enclosing class:
- SshScmRequestContext
public static class SshScmRequestContext.Builder
extends com.atlassian.bitbucket.util.BuilderSupport
-
Field Summary
Fields inherited from class com.atlassian.bitbucket.util.BuilderSupport
NOT_BLANK
-
Constructor Summary
ConstructorDescriptionBuilder
(SshScmRequestContext context) Builder
(SshCommandContext context, ExitCodeCallback exitCodeCallback) Builder
(String command, InputStream stdin, OutputStream stdout, OutputStream stderr, ExitCodeCallback exitCodeCallback) -
Method Summary
Modifier and TypeMethodDescriptionbuild()
environment
(String key, String value) environment
(Map<String, String> values) exitCodeCallback
(ExitCodeCallback value) stderr
(OutputStream value) stdin
(InputStream value) stdout
(OutputStream value) Methods inherited from class com.atlassian.bitbucket.util.BuilderSupport
addIf, addIf, addIf, addIf, addIf, addIf, checkNotBlank, requireNonBlank
-
Constructor Details
-
Builder
-
Builder
-
Builder
public Builder(@Nonnull String command, @Nonnull InputStream stdin, @Nonnull OutputStream stdout, @Nonnull OutputStream stderr, @Nonnull ExitCodeCallback exitCodeCallback)
-
-
Method Details
-
build
-
environment
-
environment
@Nonnull public SshScmRequestContext.Builder environment(@Nonnull String key, @Nonnull String value) -
exitCodeCallback
-
stderr
-
stdin
-
stdout
-