Copernicus  2.0
 All Classes Namespaces Files Functions Variables
cpc.server.state.projectlist.ProjectList Class Reference
Inheritance diagram for cpc.server.state.projectlist.ProjectList:

Public Member Functions

def get
 
def add
 
def getTaskQueue
 
def getCmdQueue
 
def list
 
def delete
 
def writeState
 
def writeFullState
 
def readState
 
def readProjectState
 

Public Attributes

 lock
 
 projects
 
 cmdQueue
 
 taskQueue
 
 conf
 

Detailed Description

Synchronized project list.

Member Function Documentation

def cpc.server.state.projectlist.ProjectList.add (   self,
  name 
)
add a project with a specific name
def cpc.server.state.projectlist.ProjectList.delete (   self,
  project,
  delDir = False 
)
Delete a project.
def cpc.server.state.projectlist.ProjectList.get (   self,
  name 
)
get a project by its name
def cpc.server.state.projectlist.ProjectList.getCmdQueue (   self)
def cpc.server.state.projectlist.ProjectList.getTaskQueue (   self)
def cpc.server.state.projectlist.ProjectList.list (   self)
Return a list of project IDs
def cpc.server.state.projectlist.ProjectList.readProjectState (   self,
  projectName 
)
def cpc.server.state.projectlist.ProjectList.readState (   self,
  serverState,
  filename 
)
Read the full state of the project list by reading the project.xml
   file and the individual tasks files.
def cpc.server.state.projectlist.ProjectList.writeFullState (   self,
  projectListFilename 
)
Write out each project's state.
def cpc.server.state.projectlist.ProjectList.writeState (   self,
  filename 
)
Write the project list out.

Member Data Documentation

cpc.server.state.projectlist.ProjectList.cmdQueue
cpc.server.state.projectlist.ProjectList.conf
cpc.server.state.projectlist.ProjectList.lock
cpc.server.state.projectlist.ProjectList.projects
cpc.server.state.projectlist.ProjectList.taskQueue

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