Package com.atlassian.bitbucket.scm
Class DefaultCommandExitHandler
java.lang.Object
com.atlassian.bitbucket.scm.DefaultCommandExitHandler
- All Implemented Interfaces:
com.atlassian.bitbucket.scm.CommandExitHandler
public class DefaultCommandExitHandler
extends Object
implements com.atlassian.bitbucket.scm.CommandExitHandler
-
Field Summary
Modifier and TypeFieldDescriptionprotected final com.atlassian.bitbucket.i18n.I18nService
-
Constructor Summary
ConstructorDescriptionDefaultCommandExitHandler
(com.atlassian.bitbucket.i18n.I18nService i18nService) -
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
void
protected void
void
-
Field Details
-
i18nService
protected final com.atlassian.bitbucket.i18n.I18nService i18nService
-
-
Constructor Details
-
DefaultCommandExitHandler
public DefaultCommandExitHandler(@Nonnull com.atlassian.bitbucket.i18n.I18nService i18nService)
-
-
Method Details
-
onCancel
public void onCancel(@Nonnull String command, int exitCode, @Nullable String stdErr, @Nullable Throwable thrown) - Specified by:
onCancel
in interfacecom.atlassian.bitbucket.scm.CommandExitHandler
-
onExit
public void onExit(@Nonnull String command, int exitCode, @Nullable String stdErr, @Nullable Throwable thrown) - Specified by:
onExit
in interfacecom.atlassian.bitbucket.scm.CommandExitHandler
-
isError
-
onError
-