Package com.seeq.link.sdk.export
Class ExportDirectives
java.lang.Object
com.seeq.link.sdk.export.ExportDirectives
Provides a Read function to enumerate all export directives on items in Seeq, and
a Write function to overwrite the export directive for a particular item.
-
Method Summary
Modifier and TypeMethodDescriptionstatic Iterable<ExportDirective>
Reads all export directives for all items.static void
write
(ExportDirective directive, com.seeq.api.ItemsApi itemsApi)
-
Method Details
-
read
public static Iterable<ExportDirective> read(String connectionName, com.seeq.api.ItemsApi itemsApi, Duration minimumLatency) Reads all export directives for all items. The "Everyone" group must be given read access to the items in order for them to be discovered, since by default they will not be accessible to the Agent API Key user.- Parameters:
connectionName
- The name of the connection for which to filter the export directivesitemsApi
- The ItemsApi to use to retrieve the directives.minimumLatency
- Minimum latency from export configuration- Returns:
- An Iterator of ExportDirectives. Note that this is a lazy iterator, and the ItemsApi won't be called until the first item is accessed.
-
write
-