MECO™ API Reference
Public Member Functions | Static Public Attributes | List of all members
mMeco.operators.callbackOpt.CallbackOperator Class Reference

[ CLASS ] - Class to operate on Python modules. More...

Inheritance diagram for mMeco.operators.callbackOpt.CallbackOperator:
mMeco.abstract.operatorAbs.Operator

Public Member Functions

def __init__ (self, module=None)
 Constructor. More...
 
def invokePrePostBuild (self, functionName, envEntryContainer)
 Invoke given functionName pre/post env build function in the settings module. More...
 
def invokeShouldInitializePackage (self, packagePath)
 Invoke shouldInitializePackage function in the settings module. More...
 
def invokeGetAppExecutableFlags (self)
 Invoke getAppExecutableFlags function in the settings module. More...
 
- Public Member Functions inherited from mMeco.abstract.operatorAbs.Operator
def name (self)
 Property. More...
 
def allLib (self)
 Property. More...
 
def module (self)
 Property. More...
 
def set (self, module=None)
 Set Python module. More...
 
def initialize (self)
 Initialize the attributes of the Python module. More...
 

Static Public Attributes

string MODULE = 'mMecoSettings.callbackLib'
 [ str ] - Default Python module import name.
 
- Static Public Attributes inherited from mMeco.abstract.operatorAbs.Operator
 MODULE = None
 [ str ] - Default Python module import name.
 

Additional Inherited Members

- Static Public Member Functions inherited from mMeco.abstract.operatorAbs.Operator
def importModule (module)
 Import Python module. More...
 

Detailed Description

[ CLASS ] - Class to operate on Python modules.

Constructor & Destructor Documentation

◆ __init__()

def mMeco.operators.callbackOpt.CallbackOperator.__init__ (   self,
  module = None 
)

Constructor.

Parameters
module[ str | None | in ] - Python module import path or Python module file path.
Exceptions
N/A
Returns
None - None.

Reimplemented from mMeco.abstract.operatorAbs.Operator.

Member Function Documentation

◆ invokePrePostBuild()

def mMeco.operators.callbackOpt.CallbackOperator.invokePrePostBuild (   self,
  functionName,
  envEntryContainer 
)

Invoke given functionName pre/post env build function in the settings module.

Parameters
functionName[ str | None | in ] - Function name, which will be invoked.
envEntryContainer[ mMeco.libs.entryLib.EnvEntry.EnvEntryContainer | None | in ] - Env envEntry container to be passed to the function.
Exceptions
N/A
Returns
None - None.

◆ invokeShouldInitializePackage()

def mMeco.operators.callbackOpt.CallbackOperator.invokeShouldInitializePackage (   self,
  packagePath 
)

Invoke shouldInitializePackage function in the settings module.

Parameters
packagePath[ str | None | in ] - Absolute path of the root of a package.
Exceptions
N/A
Returns
bool - Result.

◆ invokeGetAppExecutableFlags()

def mMeco.operators.callbackOpt.CallbackOperator.invokeGetAppExecutableFlags (   self)

Invoke getAppExecutableFlags function in the settings module.

Exceptions
N/A
Returns
bool - Result.

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