public interface

CommandSummaryHandler

com.atlassian.bitbucket.scm.CommandSummaryHandler

Class Overview

Augments a CommandErrorHandler, CommandInputHandler or CommandOutputHandler with an enhanced completion handler that is provided with a summary of the command that was executed.

Some handlers need better insight into how the command they were attached to completed, rather than simply knowing when completion happens. For example, handlers which are attached to callbacks may need to know whether the command succeeded or failed so they can notify the callback appropriately. The base complete() method inherited from the handler interfaces does not offer that level of detail.

Summary

Public Methods
void onComplete(CommandSummary summary)
Notifies the handler that the command it was attached to has completed, and provides a summary of the command.

Public Methods

public void onComplete (CommandSummary summary)

Notifies the handler that the command it was attached to has completed, and provides a summary of the command.

Parameters
summary the command's summary
Throws
ProcessException if processing the completion results in an exception