public class SubscriptionImpl extends Object implements Subscription
| Constructor and Description |
|---|
SubscriptionImpl(org.opengis.filter.Filter filter,
DeliveryMethod dm,
Set<String> sourceIds,
boolean enterprise) |
| Modifier and Type | Method and Description |
|---|---|
Object |
accept(org.opengis.filter.FilterVisitor visitor,
Object extraData) |
boolean |
evaluate(Object object) |
DeliveryMethod |
getDeliveryMethod()
Gets the delivery method for the subscription.
|
Set<String> |
getSourceIds()
Returns the source ids that are associated with the
Federatable implementation. |
boolean |
isEnterprise()
Specifies whether the
Federatable implementation should be applied to the enterprise |
public SubscriptionImpl(org.opengis.filter.Filter filter,
DeliveryMethod dm,
Set<String> sourceIds,
boolean enterprise)
public boolean evaluate(Object object)
evaluate in interface org.opengis.filter.Filterpublic Object accept(org.opengis.filter.FilterVisitor visitor, Object extraData)
accept in interface org.opengis.filter.Filterpublic Set<String> getSourceIds()
FederatableFederatable implementation. The
source ids will be the complete set of sources that should be acted upon. A set is used to
avoid duplicate ids.getSourceIds in interface Federatablenull or an empty list if
Federatable.isEnterprise() method returns true as that means all known sources should
be acted upon (and the complete list might not have been known at Object creation).public boolean isEnterprise()
FederatableFederatable implementation should be applied to the enterpriseisEnterprise in interface Federatabletrue if the Federatable implementation should be applied to the entire
enterprise (meaning all sources), otherwise false is returned. If false is
returned then a list containing at least 1 source id should be returned by the Federatable.getSourceIds() method.public DeliveryMethod getDeliveryMethod()
SubscriptionMetacards.getDeliveryMethod in interface SubscriptionThis work is licensed under a Creative Commons Attribution 4.0 International License.