All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Public Attributes | List of all members
python.projectstatus.ProjectStatus Class Reference

Public Member Functions

def __init__
 
def update
 
def get_stage_status
 

Public Attributes

 projects
 
 stats
 

Detailed Description

Definition at line 19 of file projectstatus.py.

Constructor & Destructor Documentation

def python.projectstatus.ProjectStatus.__init__ (   self,
  projects 
)

Definition at line 23 of file projectstatus.py.

23 
24  def __init__(self, projects):
25 
26  # Initialize attributes.
27 
28  self.projects = projects
29  self.stats = {}
30  for project in projects:
31  for stage in project.stages:
32  self.stats[stage.name] = StageStatus(stage)

Member Function Documentation

def python.projectstatus.ProjectStatus.get_stage_status (   self,
  stagename 
)

Definition at line 44 of file projectstatus.py.

44 
45  def get_stage_status(self, stagename):
46  return self.stats[stagename]
def python.projectstatus.ProjectStatus.update (   self)

Definition at line 35 of file projectstatus.py.

35 
36  def update(self):
37 
38  # Update all stages.
39 
40  for stagename in list(self.stats.keys()):
41  self.stats[stagename].update()
list
Definition: file_to_url.sh:28

Member Data Documentation

python.projectstatus.ProjectStatus.projects

Definition at line 27 of file projectstatus.py.

python.projectstatus.ProjectStatus.stats

Definition at line 28 of file projectstatus.py.


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