com.atlassian.bitbucket.scm.CommandSummaryHandler |
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.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Notifies the handler that the
command it was attached to has completed, and provides a summary
of the command. |
Notifies the handler that the command
it was attached to has completed, and provides a summary
of the command.
summary | the command's summary |
---|
ProcessException | if processing the completion results in an exception |
---|