Package ddf.catalog.plugin
Interface SourcePlugin
public interface SourcePlugin
Provides a plugin point for manipulating the framework source responses for getSourceIds and
getSourceInfo methods
-
Method Summary
Modifier and TypeMethodDescriptionprocessSourceIds(Set<String> sourceIds) Plugin point for changing the list of source ids return from the catalog frameworks getSourceIds methodprocessSourceInfo(SourceInfoResponse sourceInfoResponse) Plugin point for modifying the SourceInfoResponse return from the catalog frameworks getSourceInfo method
-
Method Details
-
processSourceIds
Plugin point for changing the list of source ids return from the catalog frameworks getSourceIds method- Parameters:
sourceIds- The sources ids to process from the previous SourcePlugin- Returns:
- The processed set of source ids to pass to the next SourcePlugin
-
processSourceInfo
Plugin point for modifying the SourceInfoResponse return from the catalog frameworks getSourceInfo method- Parameters:
sourceInfoResponse- The SourceInfoResponse from the previous SourcePlugin- Returns:
- The processed SourceInfoResponse to pass to the next SourcePlugin
-