LB CONFIG API  LB 4.x
lbconfig.api.Workspace Class Reference

private More...

+ Inheritance diagram for lbconfig.api.Workspace:

Public Member Functions

def __init__ (self, name, libraries=[], native_libs=[], archived=False, init_cmds=[], input=[], compress=True, create_cmd=None, keep=False, branches=[])
 
def populate (self)
 Populates the projects attribute of this object. More...
 
def write (self)
 Writes the Make rules to create the workspace to the Makefile. More...
 

Public Attributes

 archived
 
 branches
 
 compress
 
 create_cmd
 
 errors
 
 init_cmds
 
 input
 
 keep
 
 libraries
 
 name
 
 native_libs
 
 projects
 
 warnings
 

Detailed Description

private

Represents an LB workspace and all the libraries to be installed. The object is responsible for writing out the Make rules to create a managed LB workspace.

Definition at line 1927 of file api.py.

Constructor & Destructor Documentation

def lbconfig.api.Workspace.__init__ (   self,
  name,
  libraries = [],
  native_libs = [],
  archived = False,
  init_cmds = [],
  input = [],
  compress = True,
  create_cmd = None,
  keep = False,
  branches = [] 
)

Definition at line 1929 of file api.py.

Member Function Documentation

def lbconfig.api.Workspace.populate (   self)

Populates the projects attribute of this object.

Must be run after all Projects have been created.

Definition at line 1951 of file api.py.

def lbconfig.api.Workspace.write (   self)

Writes the Make rules to create the workspace to the Makefile.

Definition at line 1966 of file api.py.

Member Data Documentation

lbconfig.api.Workspace.archived

Definition at line 1938 of file api.py.

lbconfig.api.Workspace.branches

Definition at line 1946 of file api.py.

lbconfig.api.Workspace.compress

Definition at line 1944 of file api.py.

lbconfig.api.Workspace.create_cmd

Definition at line 1945 of file api.py.

lbconfig.api.Workspace.errors

Definition at line 1936 of file api.py.

lbconfig.api.Workspace.init_cmds

Definition at line 1941 of file api.py.

lbconfig.api.Workspace.input

Definition at line 1942 of file api.py.

lbconfig.api.Workspace.keep

Definition at line 1940 of file api.py.

lbconfig.api.Workspace.libraries

Definition at line 1931 of file api.py.

lbconfig.api.Workspace.name

Definition at line 1930 of file api.py.

lbconfig.api.Workspace.native_libs

Definition at line 1932 of file api.py.

lbconfig.api.Workspace.projects

Definition at line 1934 of file api.py.

lbconfig.api.Workspace.warnings

Definition at line 1935 of file api.py.


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