51Degrees Pipeline Java  4.1

51Degrees Pipeline for Java

fiftyone.pipeline.engines.fiftyone.configuration.FiftyOneDataFileConfiguration Class Reference

Detailed Description

Data file configuration class for 51Degrees data files.

Inheritance diagram for fiftyone.pipeline.engines.fiftyone.configuration.FiftyOneDataFileConfiguration:

[legend]

Collaboration diagram for fiftyone.pipeline.engines.fiftyone.configuration.FiftyOneDataFileConfiguration:

[legend]

Public Member Functions

DataUpdateUrlFormatter  getUrlFormatter ()
Get the formatter to use when getting the data update URL with query string parameters set. More...

Public Member Functions inherited from fiftyone.pipeline.engines.configuration.DataFileConfigurationDefault

String  getIdentifier ()
Get the identifier of the data file that this configuration information applies to. More...
void  setIdentifier (String identifier)
Set the identifier of the data file that this configuration information applies to. More...
String  getDataFilePath ()
Get the complete file path to the location of the data file. More...
void  setDataFilePath (String dataFilePath)
Set the complete file path to the location of the data file. More...
boolean  getCreateTempDataCopy ()
Get whether a temporary copy of the data file should be used rather than using the on at the location provided directly. More...
void  setCreateTempCopy (boolean createTempCopy)
Set to true if the engine should create a temporary copy of the data file rather than using the one at the location provided directly. More...
byte []  getData ()
If set, this byte array contains an in-memory representation of the data used by the engine. More...
void  setData (byte[] data)
Set the data file as a byte array. More...
String  getDataUpdateUrl ()
Get the URL to check when looking for updates to the data file. More...
void  setDataUpdateUrl (String url)
Set the URL to check when looking for updates to the data file. More...
boolean  getAutomaticUpdatesEnabled ()
Flag that indicates if updates to the data file will be checked for and applied to the engine automatically or not. More...
void  setAutomaticUpdatesEnabled (boolean enabled)
Set the flag that indicates if updates to the data file will be checked for and applied to the engine automatically or not. More...
List< String >  getDataUpdateLicenseKeys ()
Get a list of license keys to use when checking for updates using the getDataUpdateUrl(). More...
void  setDataUpdateLicenseKeys (List< String > licenseKeys)
Set the list of license keys to use when checking for updates using the getDataUpdateUrl(). More...
WatchKey  getWatchKey ()
Get the WatchKey used to watch the file system for file changes. More...
void  setWatchKey (WatchKey watchKey)
Set the WatchKey used to watch the file system for file changes. More...
boolean  getFileSystemWatcherEnabled ()
If true, a WatchKey will be created to watch the file at getDataFilePath(). More...
void  setFileSystemWatcherEnabled (boolean enabled)
If true, a WatchKey will be created to watch the file at getDataFilePath(). More...
int  getPollingIntervalSeconds ()
Get the interval between checks for updates for this data file using the specified getDataUpdateUrl(). More...
void  setPollingIntervalSeconds (int seconds)
Set the interval between checks for updates for this data file using the specified getDataUpdateUrl(). More...
int  getMaxRandomisationSeconds ()
Get the maximum time in seconds that the polling interval may be randomized by. More...
void  setMaxRandomisationSeconds (int seconds)
Set the maximum time in seconds that the polling interval may be randomized by. More...
DataUpdateUrlFormatter  getUrlFormatter ()
Get the formatter to use when getting the data update URL with query string parameters set. More...
void  setUrlFormatter (DataUpdateUrlFormatter formatter)
Set the formatter to use when getting the data update URL with query string parameters set. More...
boolean  getDecompressContent ()
Must return true if the data downloaded from the getDataUpdateUrl() is compressed and false otherwise. More...
void  setDecompressContent (boolean decompress)
Set whether the data downloaded from the getDataUpdateUrl() is compressed. More...
boolean  getVerifyMd5 ()
Must return true if the response from the getDataUpdateUrl() is expected to include a 'Content-Md5' HTTP header that contains an MD5 hash that can be used to check the integrity of the downloaded content. More...
void  setVerifyMd5 (boolean verify)
Set whether the response from the getDataUpdateUrl() is expected to include a 'Content-Md5' HTTP header that contains an MD5 hash that can be used to check the integrity of the downloaded content. More...
boolean  getVerifyModifiedSince ()
Must return true if the request to the getDataUpdateUrl() supports the 'If-Modified-Since' header and false if it does not. More...
void  setVerifyModifiedSince (boolean verify)
Set whether the request to the getDataUpdateUrl() supports the 'If-Modified-Since' header and false if it does not. More...
boolean  getUpdateOnStartup ()
If true then when this file is registered with the data update service, it will immediately try to download the latest copy of the file. More...
void  setUpdateOnStartup (boolean enabled)
Set if when this file is registered with the data update service, it will immediately try to download the latest copy of the file. More...

Member Function Documentation