CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Public Attributes | Private Member Functions
uploadConditions.ConditionsUploader Class Reference
Inheritance diagram for uploadConditions.ConditionsUploader:

Public Member Functions

def __init__
 
def setHost
 
def signIn
 
def signOut
 
def uploadFile
 

Public Attributes

 hostname
 
 http
 
 password
 
 token
 
 urlTemplate
 
 userName
 

Private Member Functions

def _checkForUpdates
 

Detailed Description

Upload conditions to the CMS conditions uploader service.

Definition at line 445 of file uploadConditions.py.

Constructor & Destructor Documentation

def uploadConditions.ConditionsUploader.__init__ (   self,
  hostname = defaultHostname,
  urlTemplate = defaultUrlTemplate 
)

Definition at line 449 of file uploadConditions.py.

Member Function Documentation

def uploadConditions.ConditionsUploader._checkForUpdates (   self)
private
Updates this script, if a new version is found.

Definition at line 506 of file uploadConditions.py.

def uploadConditions.ConditionsUploader.setHost (   self,
  hostname 
)

Definition at line 457 of file uploadConditions.py.

def uploadConditions.ConditionsUploader.signIn (   self,
  username,
  password 
)

Definition at line 462 of file uploadConditions.py.

def uploadConditions.ConditionsUploader.signOut (   self)
Signs out the server.

Definition at line 497 of file uploadConditions.py.

def uploadConditions.ConditionsUploader.uploadFile (   self,
  filename,
  backend = defaultBackend,
  temporaryFile = defaultTemporaryFile 
)
Uploads a file to the dropBox.

The filename can be without extension, with .db or with .txt extension.
It will be stripped and then both .db and .txt files are used.

Definition at line 531 of file uploadConditions.py.

Member Data Documentation

uploadConditions.ConditionsUploader.hostname

Definition at line 450 of file uploadConditions.py.

uploadConditions.ConditionsUploader.http

Definition at line 453 of file uploadConditions.py.

uploadConditions.ConditionsUploader.password

Definition at line 454 of file uploadConditions.py.

uploadConditions.ConditionsUploader.token

Definition at line 455 of file uploadConditions.py.

uploadConditions.ConditionsUploader.urlTemplate

Definition at line 451 of file uploadConditions.py.

uploadConditions.ConditionsUploader.userName

Definition at line 452 of file uploadConditions.py.