Interface PollConfig


  • public interface PollConfig
    The PollConfig interface represents polling configurations managed by the PollingImporter service.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getInterval()
      The active poll interval in seconds of this configuration.
      java.lang.String getLogin()
      The login of this configuration.
      java.lang.String getPassword()
      The password of this configuration.
      java.lang.String getPath()
      Returns the identification path of this configuration.
      java.lang.String getScheme()
      Returns the scheme.
      java.lang.String getSource()
      Returns the data source URL.
      long getStoredInterval()
      The stored poll interval in seconds of this configuration.
      java.lang.String getTarget()
      Returns the target path where the polled data is being stored.
      boolean isEnabled()
      The enable state for the configuration.
    • Method Detail

      • getPath

        java.lang.String getPath()
        Returns the identification path of this configuration.
        Returns:
        Identification path
      • getScheme

        java.lang.String getScheme()
        Returns the scheme. This is used to select the appropriate Importer to handle polling the data source of this configuration.
        Returns:
        String representation of the scheme
      • getSource

        java.lang.String getSource()
        Returns the data source URL. This is given to the Importer handling the getScheme() of this configuration to acquire the data.
        Returns:
        Data source URL
      • getTarget

        java.lang.String getTarget()
        Returns the target path where the polled data is being stored. This is used to create the Resource provided to the Importer to import the data.
        Returns:
        Target path
      • getInterval

        long getInterval()
        The active poll interval in seconds of this configuration.
        Returns:
        Active poll interval in seconds
      • getStoredInterval

        long getStoredInterval()
        The stored poll interval in seconds of this configuration.
        Returns:
        Stored poll interval in seconds
      • isEnabled

        boolean isEnabled()
        The enable state for the configuration.
        Returns:
        Enabled state
      • getLogin

        java.lang.String getLogin()
        The login of this configuration.
        Returns:
        Login name
      • getPassword

        java.lang.String getPassword()
        The password of this configuration.
        Returns:
        Password