Package io.vertx.ext.shell.command.base
Class BusPublish
- java.lang.Object
-
- io.vertx.ext.shell.command.AnnotatedCommand
-
- io.vertx.ext.shell.command.base.BusPublish
-
- Direct Known Subclasses:
BusSend
public class BusPublish extends AnnotatedCommand
- Author:
- Julien Viet
-
-
Field Summary
Fields Modifier and Type Field Description protected Stringaddressprotected Stringbodyprotected DeliveryOptionsoptionsprotected ObjectTypetypeprotected booleanverbose
-
Constructor Summary
Constructors Constructor Description BusPublish()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected ObjectparseBody()voidprocess(CommandProcess process)Process the command, when the command is done processing it should call theCommandProcess.end()method.voidsetAddress(String address)voidsetBody(String body)voidsetHeaders(List<String> headers)voidsetType(ObjectType type)voidsetVerbose(boolean verbose)-
Methods inherited from class io.vertx.ext.shell.command.AnnotatedCommand
cli, complete, name
-
-
-
-
Field Detail
-
verbose
protected boolean verbose
-
address
protected String address
-
body
protected String body
-
options
protected DeliveryOptions options
-
type
protected ObjectType type
-
-
Method Detail
-
setAddress
public void setAddress(String address)
-
setBody
public void setBody(String body)
-
setVerbose
public void setVerbose(boolean verbose)
-
setType
public void setType(ObjectType type)
-
parseBody
protected Object parseBody()
-
process
public void process(CommandProcess 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
-
-