public static final class EventPattern.FeedInfo extends Object
EPatternFeed to
open and subscribe
to a notification message feed. FeedInfo instances
may be created directly by the user or indirectly via
EventPattern.Builder.beginParameter(String)/
EventPattern.Builder.endParameter() calls.| Constructor and Description |
|---|
FeedInfo(EMessageKey key,
EFeed.FeedScope scope)
Creates subscription feed information for the given
notification message key and feed scope.
|
FeedInfo(EMessageKey key,
EFeed.FeedScope scope,
ECondition condition)
Creates subscription feed information for the given
notification message key, feed scope, and optional
feed condition.
|
| Modifier and Type | Method and Description |
|---|---|
ECondition |
condition()
Returns the optional subscription feed condition.
|
EMessageKey |
messageKey()
Returns the subscription notification message key.
|
EFeed.FeedScope |
scope()
Returns the subscription feed scope.
|
public FeedInfo(EMessageKey key, EFeed.FeedScope scope)
EFeed.NOTIFY_METHOD.key - required notification message key.scope - required feed scope.public FeedInfo(EMessageKey key, EFeed.FeedScope scope, ECondition condition)
condition is null,
then the condition is set to
EFeed.NO_CONDITION.key - required notification message key.scope - required feed scope.condition - optional subscription condition. May
be null.NullPointerException - if either key or scope is null.IllegalArgumentException - if key is not a notification message.public EMessageKey messageKey()
public EFeed.FeedScope scope()
public ECondition condition()
null.Copyright © 2020. All rights reserved.