public class BusPublish extends AnnotatedCommand
Modifier and Type | Field and Description |
---|---|
protected String |
address |
protected String |
body |
protected DeliveryOptions |
options |
protected ObjectType |
type |
protected boolean |
verbose |
Constructor and Description |
---|
BusPublish() |
Modifier and Type | Method and Description |
---|---|
protected Object |
parseBody() |
void |
process(CommandProcess process)
Process the command, when the command is done processing it should call the
CommandProcess.end() method. |
void |
setAddress(String address) |
void |
setBody(String body) |
void |
setHeaders(List<String> headers) |
void |
setType(ObjectType type) |
void |
setVerbose(boolean verbose) |
cli, complete, name
protected boolean verbose
protected String address
protected String body
protected DeliveryOptions options
protected ObjectType type
public void setAddress(String address)
public void setBody(String body)
public void setVerbose(boolean verbose)
public void setType(ObjectType type)
protected Object parseBody()
public void process(CommandProcess process)
AnnotatedCommand
CommandProcess.end()
method.process
in class AnnotatedCommand
process
- the command processCopyright © 2021 Eclipse. All rights reserved.