Package com.day.cq.polling.importer
Interface PollConfig
-
public interface PollConfig
ThePollConfig
interface represents polling configurations managed by thePollingImporter
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 appropriateImporter
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 theImporter
handling 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 theResource
provided to theImporter
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
-
-