@Validated public class BindingProperties extends Object
Constructor and Description |
---|
BindingProperties() |
Modifier and Type | Method and Description |
---|---|
String |
getBinder() |
ConsumerProperties |
getConsumer() |
String |
getContentType() |
String |
getDestination() |
String |
getGroup() |
ProducerProperties |
getProducer() |
boolean |
onlyOneOfProducerOrConsumerSet() |
void |
setBinder(String binder) |
void |
setConsumer(ConsumerProperties consumer) |
void |
setContentType(String contentType) |
void |
setDestination(String destination) |
void |
setGroup(String group) |
void |
setProducer(ProducerProperties producer) |
String |
toString() |
public String getDestination()
public void setDestination(String destination)
public String getGroup()
public void setGroup(String group)
public String getContentType()
public void setContentType(String contentType)
public String getBinder()
public void setBinder(String binder)
public ConsumerProperties getConsumer()
public void setConsumer(ConsumerProperties consumer)
public ProducerProperties getProducer()
public void setProducer(ProducerProperties producer)
@AssertTrue(message="A binding must not set both producer and consumer properties.") public boolean onlyOneOfProducerOrConsumerSet()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.