ARLO Adapt
Public Member Functions | Static Public Member Functions | Static Public Attributes | Private Member Functions | Static Private Attributes | List of all members
arlo.ArloSettings Class Reference

Configuration management for the ADAPT package. More...

Collaboration diagram for arlo.ArloSettings:
Collaboration graph
[legend]

Public Member Functions

boolean Initialize (String resourceName)
 

Static Public Member Functions

static String getMediaFileDirectory (int library_id)
 Generate the path to the mediafile storage for a given library. More...
 

Static Public Attributes

static Boolean startHttpCallMeAPIServer = null
 
static Integer HttpCallMeAPIServerPort = null
 
static String hostname = null
 
static String processDescription = null
 
static Integer RunQueueDaemonInterval_Seconds = null
 
static Boolean QueueRunnerOneShot = null
 
static String QueueRunnerAPIUserName = null
 
static String QueueRunnerAPIPassword = null
 
static String QueueRunnerAPIHost = null
 
static Integer QueueRunnerAPIPort = null
 
static Integer QueueRunnerOneShotMaxTasks = null
 
static Boolean RunQueueEnableImportAudioFile = null
 
static Boolean RunQueueEnableTest = null
 
static Boolean RunQueueEnableSupervisedTagDiscoveryParent = null
 
static Boolean RunQueueEnableSupervisedTagDiscoveryChild = null
 
static Boolean RunQueueEnableUnsupervisedTagDiscovery = null
 
static Boolean RunQueueEnableExpertAgreementClassification = null
 
static Boolean RunQueueEnableWekaJob = null
 
static Boolean RunQueueEnableLibraryMediaFileValidation = null
 
static long sizeOfInt = 4
 
static long sizeOfLong = 8
 
static String dbUserName = null
 
static String dbPassword = null
 
static String dbUrl = null
 
static String dbDriveClassString = null
 
static Integer numThreads = null
 
static String bigDataCacheDirectoryPath = null
 
static Boolean cacheEnabled = null
 
static Boolean advancedTagging = null
 
static String userFilesDirectoryPath = null
 
static String mediaRootDirectoryPath = null
 
static String NesterAPIRootURL = null
 
static String NesterAPIUser = null
 
static String NesterAPIToken = null
 
static Boolean NesterAPINoVerfySSL = false
 

Private Member Functions

Integer getInteger (String name, Logger logger)
 
Boolean getBoolean (String name, Logger logger)
 
String getString (String name, Logger logger)
 

Static Private Attributes

static HashMap< String, String > defaultValues
 

Detailed Description

Configuration management for the ADAPT package.

This class provides configuration parameters for the program. Parameters are sourced from multiple locations, searching for the parameter name in multiple locations, in order of precedence:

Member Function Documentation

Boolean arlo.ArloSettings.getBoolean ( String  name,
Logger  logger 
)
private
Integer arlo.ArloSettings.getInteger ( String  name,
Logger  logger 
)
private
static String arlo.ArloSettings.getMediaFileDirectory ( int  library_id)
static

Generate the path to the mediafile storage for a given library.

This returns a trailing '/'.

Note
Absolute path
Parameters
library_idID of the Library that contains the file.
Returns
The directory's absolute path location, as a string
String arlo.ArloSettings.getString ( String  name,
Logger  logger 
)
private
boolean arlo.ArloSettings.Initialize ( String  resourceName)

Member Data Documentation

Boolean arlo.ArloSettings.advancedTagging = null
static
String arlo.ArloSettings.bigDataCacheDirectoryPath = null
static
Boolean arlo.ArloSettings.cacheEnabled = null
static
String arlo.ArloSettings.dbDriveClassString = null
static
String arlo.ArloSettings.dbPassword = null
static
String arlo.ArloSettings.dbUrl = null
static
String arlo.ArloSettings.dbUserName = null
static
HashMap<String, String> arlo.ArloSettings.defaultValues
staticprivate
String arlo.ArloSettings.hostname = null
static
Integer arlo.ArloSettings.HttpCallMeAPIServerPort = null
static
String arlo.ArloSettings.mediaRootDirectoryPath = null
static
Boolean arlo.ArloSettings.NesterAPINoVerfySSL = false
static
String arlo.ArloSettings.NesterAPIRootURL = null
static
String arlo.ArloSettings.NesterAPIToken = null
static
String arlo.ArloSettings.NesterAPIUser = null
static
Integer arlo.ArloSettings.numThreads = null
static
String arlo.ArloSettings.processDescription = null
static
String arlo.ArloSettings.QueueRunnerAPIHost = null
static
String arlo.ArloSettings.QueueRunnerAPIPassword = null
static
Integer arlo.ArloSettings.QueueRunnerAPIPort = null
static
String arlo.ArloSettings.QueueRunnerAPIUserName = null
static
Boolean arlo.ArloSettings.QueueRunnerOneShot = null
static
Integer arlo.ArloSettings.QueueRunnerOneShotMaxTasks = null
static
Integer arlo.ArloSettings.RunQueueDaemonInterval_Seconds = null
static
Boolean arlo.ArloSettings.RunQueueEnableExpertAgreementClassification = null
static
Boolean arlo.ArloSettings.RunQueueEnableImportAudioFile = null
static
Boolean arlo.ArloSettings.RunQueueEnableLibraryMediaFileValidation = null
static
Boolean arlo.ArloSettings.RunQueueEnableSupervisedTagDiscoveryChild = null
static
Boolean arlo.ArloSettings.RunQueueEnableSupervisedTagDiscoveryParent = null
static
Boolean arlo.ArloSettings.RunQueueEnableTest = null
static
Boolean arlo.ArloSettings.RunQueueEnableUnsupervisedTagDiscovery = null
static
Boolean arlo.ArloSettings.RunQueueEnableWekaJob = null
static
long arlo.ArloSettings.sizeOfInt = 4
static
long arlo.ArloSettings.sizeOfLong = 8
static
Boolean arlo.ArloSettings.startHttpCallMeAPIServer = null
static
String arlo.ArloSettings.userFilesDirectoryPath = null
static

The documentation for this class was generated from the following file: