Class BindUnbindParameters<T extends BindUnbindParameters<T>>
- java.lang.Object
-
- ru.tinkoff.qa.neptune.core.api.steps.SelfDescribed
-
- ru.tinkoff.qa.neptune.rabbit.mq.function.binding.BindUnbindParameters<T>
-
- Type Parameters:
T
- is a type of subclass
- All Implemented Interfaces:
StepParameterPojo
- Direct Known Subclasses:
ExchangesBindUnbindParameters
,QueueBindUnbindParameters
public abstract class BindUnbindParameters<T extends BindUnbindParameters<T>> extends SelfDescribed implements StepParameterPojo
Defines parameters of the binding.
-
-
Constructor Summary
Constructors Constructor Description BindUnbindParameters()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description T
argument(String argumentName, String argumentValue)
Defines a new argument and its valueT
withDefaultRoutingKey()
Defines new value of a routing key using theRabbitMQRoutingProperties.DEFAULT_ROUTING_KEY_NAME
property.T
withRoutingKey(String key)
Defines a new value of a routing key-
Methods inherited from class ru.tinkoff.qa.neptune.core.api.steps.SelfDescribed
toString
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
Methods inherited from interface ru.tinkoff.qa.neptune.core.api.steps.parameters.StepParameterPojo
getParameters
-
-
-
-
Method Detail
-
withRoutingKey
public T withRoutingKey(String key)
Defines a new value of a routing key- Parameters:
key
- a new value of a routing key- Returns:
- self-reference
-
withDefaultRoutingKey
public T withDefaultRoutingKey()
Defines new value of a routing key using theRabbitMQRoutingProperties.DEFAULT_ROUTING_KEY_NAME
property.- Returns:
- self-reference
-
-