Package arcjobtool :: Module ArcUtils :: Class ArcGuiConfig
[hide private]
[frames] | no frames]

Class ArcGuiConfig

source code


Class implementing the configuration options for ARC Job Tool.

The class combines the configuration for ARC and ARC Job Tool into a single configuration file arcjobtool.conf.

Instance Methods [hide private]
 
__init__(self, userConfig, arcClient)
Class constructor
source code
 
addDefaultService(self, serviceName)
Adds a default service to the list of services.
source code
 
clearDefaultServices(self)
Clears all services in the default services lists.
source code
 
addRejectedService(self, serviceName)
Adds a service to the rejected list.
source code
 
clearRejectedServices(self)
Clears all services in the rejected list.
source code
 
write(self)
Write the configuration to file.
source code
 
__initDefaultProperties(self)
Initialises default properties for the configuration.
source code
 
disableRejected(self)
Disables the rejected list
source code
 
enableRejected(self)
Enables the rejected list.
source code
 
update(self)
Updates the settings.
source code
 
create(self)
Create a default configuration file.
source code
 
updateServices(self)
Update the ARC configuration with the maintained lists in this class.
source code
 
read(self)
Read configuration from file.
source code
 
setFilename(self, filename)
Sets the filename to use for the configuration file (property set)
source code
 
getFilename(self)
Returns the configuration filename (property get)
source code
 
getBrokerName(self)
Returns the current brokername (property get)
source code
 
setBrokerName(self, brokerName)
Sets the current broker to use.
source code

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __repr__, __setattr__, __sizeof__, __str__, __subclasshook__

Properties [hide private]
  brokerName
Returns the current brokername (property get)
  filename
Returns the configuration filename (property get)

Inherited from object: __class__

Method Details [hide private]

__init__(self, userConfig, arcClient)
(Constructor)

source code 

Class constructor

Overrides: object.__init__

setBrokerName(self, brokerName)

source code 

Sets the current broker to use. (property set)


Property Details [hide private]

brokerName

Returns the current brokername (property get)

Get Method:
getBrokerName(self) - Returns the current brokername (property get)
Set Method:
setBrokerName(self, brokerName) - Sets the current broker to use.

filename

Returns the configuration filename (property get)

Get Method:
getFilename(self) - Returns the configuration filename (property get)
Set Method:
setFilename(self, filename) - Sets the filename to use for the configuration file (property set)