Class BusPublish
java.lang.Object
io.vertx.ext.shell.command.AnnotatedCommand
io.vertx.ext.shell.command.base.BusPublish
- Direct Known Subclasses:
BusSend
- Author:
- Julien Viet
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected Stringprotected Stringprotected DeliveryOptionsprotected ObjectTypeprotected boolean -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected Objectvoidprocess(CommandProcess process) Process the command, when the command is done processing it should call theCommandProcess.end()method.voidsetAddress(String address) voidvoidsetHeaders(List<String> headers) voidsetType(ObjectType type) voidsetVerbose(boolean verbose) Methods inherited from class AnnotatedCommand
cli, complete, name
-
Field Details
-
verbose
protected boolean verbose -
address
-
body
-
options
-
type
-
-
Constructor Details
-
BusPublish
public BusPublish()
-
-
Method Details
-
setAddress
-
setBody
-
setHeaders
-
setVerbose
public void setVerbose(boolean verbose) -
setType
-
parseBody
-
process
Description copied from class:AnnotatedCommandProcess the command, when the command is done processing it should call theCommandProcess.end()method.- Specified by:
processin classAnnotatedCommand- Parameters:
process- the command process
-