public interface CommandAware
CommandErrorHandler
, CommandInputHandler
or
CommandOutputHandler
that wishes to be provided the Command
it will be processing.
The command will be set before the handler's relevant process
method is called.Modifier and Type | Method and Description |
---|---|
void |
setCommand(Command<?> command)
Called prior to
process to provide the Command the handler will be processing. |
void setCommand(@Nonnull Command<?> command)
process
to provide the Command
the handler will be processing.command
- the command for which the handler will process input or outputOutputHandler.process(InputStream)
,
InputHandler.process(OutputStream)
,
OutputHandler.process(InputStream)
Copyright © 2019 Atlassian. All rights reserved.