Package com.day.cq.polling.importer
Interface PollConfig
-
public interface PollConfigThePollConfiginterface represents polling configurations managed by thePollingImporterservice.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description longgetInterval()The active poll interval in seconds of this configuration.java.lang.StringgetLogin()The login of this configuration.java.lang.StringgetPassword()The password of this configuration.java.lang.StringgetPath()Returns the identification path of this configuration.java.lang.StringgetScheme()Returns the scheme.java.lang.StringgetSource()Returns the data source URL.longgetStoredInterval()The stored poll interval in seconds of this configuration.java.lang.StringgetTarget()Returns the target path where the polled data is being stored.booleanisEnabled()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 appropriateImporterto 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 theImporterhandling thegetScheme()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 theResourceprovided to theImporterto 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
-
-