public final class SetMessages extends UpdateActionImpl<Subscription>
See also SubscriptionUpdateCommand.
assumeHasIronMqEnv(); setMessagesQueue(SubscriptionFixtures::ironMqSubscriptionDraftBuilder);
See the test code.
Subscription.getMessages()
Modifier and Type | Method and Description |
---|---|
List<MessageSubscription> |
getMessages() |
static SetMessages |
of(List<MessageSubscription> messages)
Creates a update action to set the messages.
|
static SetMessages |
ofUnset() |
getAction
@Nullable public List<MessageSubscription> getMessages()
public static SetMessages of(@Nullable List<MessageSubscription> messages)
messages
- the messages Subscription.getMessages()
public static SetMessages ofUnset()