final class PublishActionBuilder extends ActionBuilder
DSL for actions that publish MQTT messages
Immutable, so all methods return a new occurrence and leave the original unmodified.
- Alphabetic
- By Inheritance
- PublishActionBuilder
- ActionBuilder
- Executable
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
Instance Constructors
- new PublishActionBuilder(wrapped: PublishBuilder)
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asScala(): ActionBuilder
- Definition Classes
- PublishActionBuilder → ActionBuilder
- Annotations
- @Override()
- def await(timeout: Duration, expectedTopic: String): Checkable
Wait for the checks to complete
Wait for the checks to complete
- timeout
the check timeout
- expectedTopic
the topic where the response message is expected to be published, expressed as a Gatling Expression Language String
- returns
the next DSL step
- Annotations
- @NonNull()
- def await(timeout: Long, expectedTopic: String): Checkable
Wait for the checks to complete
Wait for the checks to complete
- timeout
the check timeout in seconds
- expectedTopic
the topic where the response message is expected to be published, expressed as a Gatling Expression Language String
- returns
the next DSL step
- Annotations
- @NonNull()
- def await(timeout: Duration): Checkable
Wait for the checks to complete
Wait for the checks to complete
- timeout
the check timeout
- returns
the next DSL step
- Annotations
- @NonNull()
- def await(timeout: Long): Checkable
Wait for the checks to complete
Wait for the checks to complete
- timeout
the check timeout in seconds
- returns
the next DSL step
- Annotations
- @NonNull()
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def equals(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef → Any
- def expect(timeout: Duration, expectedTopic: String): Checkable
Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()- timeout
the check timeout
- expectedTopic
the topic where the response message is expected to be published, expressed as a Gatling Expression Language String
- returns
the next DSL step
- Annotations
- @NonNull()
- def expect(timeout: Long, expectedTopic: Function[Session, String]): Checkable
Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()- timeout
the check timeout in seconds
- expectedTopic
the topic where the response message is expected to be published, expressed as a function
- returns
the next DSL step
- Annotations
- @NonNull()
- def expect(timeout: Duration, expectedTopic: Function[Session, String]): Checkable
Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()- timeout
the check timeout
- expectedTopic
the topic where the response message is expected to be published, expressed as a function
- returns
the next DSL step
- Annotations
- @NonNull()
- def expect(timeout: Long, expectedTopic: String): Checkable
Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()- timeout
the check timeout in seconds
- expectedTopic
the topic where the response message is expected to be published, expressed as a Gatling Expression Language String
- returns
the next DSL step
- Annotations
- @NonNull()
- def expect(timeout: Duration): Checkable
Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()- timeout
the check timeout
- returns
the next DSL step
- Annotations
- @NonNull()
- def expect(timeout: Long): Checkable
Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()Perform checks in the background, meaning state will have to be reconciled with
MqttDsl#waitForMessages()- timeout
the check timeout in seconds
- returns
the next DSL step
- Annotations
- @NonNull()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- def hashCode(): Int
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def qosAtLeastOnce(): PublishActionBuilder
Use an at-least-once QoS
Use an at-least-once QoS
- returns
a new ActionBuilder instance
- Annotations
- @NonNull()
- def qosAtMostOnce(): PublishActionBuilder
Use an at-most-once QoS
Use an at-most-once QoS
- returns
a new ActionBuilder instance
- Annotations
- @NonNull()
- def qosExactlyOnce(): PublishActionBuilder
Use an exactly-once QoS
Use an exactly-once QoS
- returns
a new ActionBuilder instance
- Annotations
- @NonNull()
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- def toChainBuilder(): ChainBuilder
- Definition Classes
- ActionBuilder → Executable
- def toString(): String
- Definition Classes
- AnyRef → Any
- def wait(timeout: Duration, expectedTopic: Function[Session, String]): Checkable
Wait for the checks to complete
Wait for the checks to complete
- timeout
the check timeout
- expectedTopic
the topic where the response message is expected to be published, expressed as a function
- returns
the next DSL step
- Annotations
- @NonNull()
- def wait(timeout: Long, expectedTopic: Function[Session, String]): Checkable
Wait for the checks to complete
Wait for the checks to complete
- timeout
the check timeout in seconds
- expectedTopic
the topic where the response message is expected to be published, expressed as a function
- returns
the next DSL step
- Annotations
- @NonNull()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()