public class RedisSinkOptionsMetadata extends java.lang.Object implements ProfileNamesProvider
NO_PROFILES
Constructor and Description |
---|
RedisSinkOptionsMetadata() |
Modifier and Type | Method and Description |
---|---|
org.springframework.data.redis.support.collections.RedisCollectionFactoryBean.CollectionType |
getCollectionType() |
java.lang.String |
getKey() |
java.lang.String |
getKeyExpression() |
java.lang.String |
getQueue() |
java.lang.String |
getQueueExpression() |
java.lang.String |
getTopic() |
java.lang.String |
getTopicExpression() |
boolean |
isCollectionTypeValid() |
boolean |
isOptionMutuallyExclusive()
User can't explicitly set mutually exclusive values together.
|
boolean |
isOptionRequired() |
java.lang.String[] |
profilesToActivate() |
void |
setCollectionType(org.springframework.data.redis.support.collections.RedisCollectionFactoryBean.CollectionType collectionType) |
void |
setKey(java.lang.String key) |
void |
setKeyExpression(java.lang.String keyExpression) |
void |
setQueue(java.lang.String queue) |
void |
setQueueExpression(java.lang.String queueExpression) |
void |
setTopic(java.lang.String topic) |
void |
setTopicExpression(java.lang.String topicExpression) |
public java.lang.String getTopicExpression()
public void setTopicExpression(java.lang.String topicExpression)
public java.lang.String getQueueExpression()
public void setQueueExpression(java.lang.String queueExpression)
public java.lang.String getKeyExpression()
public void setKeyExpression(java.lang.String keyExpression)
public java.lang.String getTopic()
public void setTopic(java.lang.String topic)
public java.lang.String getQueue()
public void setQueue(java.lang.String queue)
public java.lang.String getKey()
public void setKey(java.lang.String key)
public org.springframework.data.redis.support.collections.RedisCollectionFactoryBean.CollectionType getCollectionType()
public void setCollectionType(org.springframework.data.redis.support.collections.RedisCollectionFactoryBean.CollectionType collectionType)
@AssertTrue(message="the \'topic\', \'topicExpression\', \'queue\', \'queueExpression\', \'key\' and \'keyExpression\' options are mutually exclusive") public boolean isOptionMutuallyExclusive()
@AssertTrue(message="one of \'topic\', \'topicExpression\', \'queue\', \'queueExpression\', \'key\', \'keyExpression\' options must be set explicitly") public boolean isOptionRequired()
@AssertTrue(message="collection type is not valid") public boolean isCollectionTypeValid()
public java.lang.String[] profilesToActivate()
profilesToActivate
in interface ProfileNamesProvider