Back to index

plone3  3.1.7
Public Member Functions | Static Public Attributes | Private Attributes
GenericSetup.context.SetupEnviron Class Reference
Inheritance diagram for GenericSetup.context.SetupEnviron:
Inheritance graph
[legend]
Collaboration diagram for GenericSetup.context.SetupEnviron:
Collaboration graph
[legend]

List of all members.

Public Member Functions

def __init__
def getLogger
def shouldPurge

Static Public Attributes

tuple security = ClassSecurityInfo()

Private Attributes

 _should_purge

Detailed Description

Context for body im- and exporter.

Definition at line 99 of file context.py.


Constructor & Destructor Documentation

Definition at line 108 of file context.py.

00108 
00109     def __init__(self):
00110         self._should_purge = True


Member Function Documentation

def GenericSetup.context.SetupEnviron.getLogger (   self,
  name 
)
Get a logger with the specified name, creating it if necessary.

Reimplemented in GenericSetup.context.BaseContext.

Definition at line 112 of file context.py.

00112 
00113     def getLogger(self, name):
00114         """Get a logger with the specified name, creating it if necessary.
00115         """
00116         return logging.getLogger('GenericSetup.%s' % name)

When installing, should the existing setup be purged?

Reimplemented in GenericSetup.context.SnapshotImportContext, and GenericSetup.context.TarballImportContext.

Definition at line 118 of file context.py.

00118 
00119     def shouldPurge(self):
00120         """When installing, should the existing setup be purged?
00121         """
00122         return self._should_purge
00123 


Member Data Documentation

tuple GenericSetup.context.SetupEnviron.security = ClassSecurityInfo() [static]

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