public class DefaultCommandExitHandler extends Object implements com.atlassian.bitbucket.scm.CommandExitHandler
Modifier and Type | Field and Description |
---|---|
protected com.atlassian.bitbucket.i18n.I18nService |
i18nService |
Constructor and Description |
---|
DefaultCommandExitHandler(com.atlassian.bitbucket.i18n.I18nService i18nService) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
isError(String command,
int exitCode,
String stdErr,
Throwable thrown) |
void |
onCancel(String command,
int exitCode,
String stdErr,
Throwable thrown) |
protected void |
onError(String command,
int exitCode,
String stdErr,
Throwable thrown) |
void |
onExit(String command,
int exitCode,
String stdErr,
Throwable thrown) |
public DefaultCommandExitHandler(@Nonnull com.atlassian.bitbucket.i18n.I18nService i18nService)
public void onCancel(@Nonnull String command, int exitCode, @Nullable String stdErr, @Nullable Throwable thrown)
onCancel
in interface com.atlassian.bitbucket.scm.CommandExitHandler
public void onExit(@Nonnull String command, int exitCode, @Nullable String stdErr, @Nullable Throwable thrown)
onExit
in interface com.atlassian.bitbucket.scm.CommandExitHandler
Copyright © 2024 Atlassian. All rights reserved.