Package ddf.catalog.federation
Interface Federatable
- All Known Subinterfaces:
QueryRequest,SourceInfoRequest,Subscription
public interface Federatable
Interface describing an object that can be federated with other
s
invalid reference
Source
-
Method Summary
Modifier and TypeMethodDescriptionReturns the source ids that are associated with theFederatableimplementation.booleanSpecifies whether theFederatableimplementation should be applied to the enterprise
-
Method Details
-
getSourceIds
Returns the source ids that are associated with theFederatableimplementation. The source ids will be the complete set of sources that should be acted upon. A set is used to avoid duplicate ids.- Returns:
- set of source ids that should be acted upon. Can be
nullor an empty list ifisEnterprise()method returnstrueas that means all known sources should be acted upon (and the complete list might not have been known at Object creation).
-
isEnterprise
boolean isEnterprise()Specifies whether theFederatableimplementation should be applied to the enterprise- Returns:
trueif theFederatableimplementation should be applied to the entire enterprise (meaning all sources), otherwisefalseis returned. Iffalseis returned then a list containing at least 1 source id should be returned by thegetSourceIds()method.
-