Class QueueBindUnbindParameters
- java.lang.Object
-
- ru.tinkoff.qa.neptune.core.api.steps.SelfDescribed
-
- ru.tinkoff.qa.neptune.rabbit.mq.function.binding.BindUnbindParameters<QueueBindUnbindParameters>
-
- ru.tinkoff.qa.neptune.rabbit.mq.function.binding.QueueBindUnbindParameters
-
- All Implemented Interfaces:
StepParameterPojo
public final class QueueBindUnbindParameters extends BindUnbindParameters<QueueBindUnbindParameters>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static QueueBindUnbindParametersdefaultQueueAndExchange(String exchange)Defines exchange.static QueueBindUnbindParametersqueueAndDefaultExchange(String queue)Defines queue.static QueueBindUnbindParametersqueueAndExchange(String queue, String exchange)Defines queue and exchange.-
Methods inherited from class ru.tinkoff.qa.neptune.rabbit.mq.function.binding.BindUnbindParameters
argument, withDefaultRoutingKey, withRoutingKey
-
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
-
queueAndExchange
public static QueueBindUnbindParameters queueAndExchange(String queue, String exchange)
Defines queue and exchange.- Parameters:
queue- is a name of a queueexchange- is a name a exchange- Returns:
- a new
QueueBindUnbindParameters
-
queueAndDefaultExchange
public static QueueBindUnbindParameters queueAndDefaultExchange(String queue)
Defines queue. Value of theRabbitMQRoutingProperties.DEFAULT_EXCHANGE_NAMEis used as exchange.- Parameters:
queue- is a name of a queue- Returns:
- a new
QueueBindUnbindParameters
-
defaultQueueAndExchange
public static QueueBindUnbindParameters defaultQueueAndExchange(String exchange)
Defines exchange. Value of theRabbitMQRoutingProperties.DEFAULT_QUEUE_NAMEis used as queue.- Parameters:
exchange- is a name a exchange- Returns:
- a new
QueueBindUnbindParameters
-
-