Class ExportDirectives

java.lang.Object
com.seeq.link.sdk.export.ExportDirectives

public final class ExportDirectives extends Object
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 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 directives
      itemsApi - 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

      public static void write(ExportDirective directive, com.seeq.api.ItemsApi itemsApi)