MECO™ API Reference
|
[ CLASS ] - Data class used by all the classes. More...
Public Member Functions | |
def | __init__ (self, runMode=RunMode.kTerminal, runLevel=RunLevel.kAll, processesToRun=[], processesToIgnore=[], ignoreFailedPreDependencies=False, ignoreFailedPostDependencies=False, raiseExceptions=False, displayMessages=DisplayMessage.kAll, userDescription=None, ignoreDescription=None) |
Constructor. More... | |
def | __getitem__ (self, key) |
Get item from data member. More... | |
def | __setitem__ (self, key, value) |
Set item of data member. More... | |
PROPERTIES | |
def | runMode (self) |
Run mode. More... | |
def | runLevel (self) |
Run level. More... | |
def | processesToRun (self) |
Processes to run. More... | |
def | processesToIgnore (self) |
Processes to ignore. More... | |
def | ignoreFailedPreDependencies (self) |
Whether to ignore failed pre dependencies. More... | |
def | ignoreFailedPostDependencies (self) |
Whether to ignore failed post dependencies. More... | |
def | raiseExceptions (self) |
Raise exceptions. More... | |
def | displayMessages (self) |
Display messages. More... | |
def | userDescription (self) |
User description. More... | |
def | setUserDescription (self, userDescription) |
Set user description. More... | |
def | ignoreDescription (self) |
Ignore description. More... | |
def | setIgnoreDescription (self, ignoreDescription) |
Set ignore description. More... | |
def | data (self) |
Data. More... | |
[ CLASS ] - Data class used by all the classes.
def mProcess.dataLib.Data.__init__ | ( | self, | |
runMode = RunMode.kTerminal , |
|||
runLevel = RunLevel.kAll , |
|||
processesToRun = [] , |
|||
processesToIgnore = [] , |
|||
ignoreFailedPreDependencies = False , |
|||
ignoreFailedPostDependencies = False , |
|||
raiseExceptions = False , |
|||
displayMessages = DisplayMessage.kAll , |
|||
userDescription = None , |
|||
ignoreDescription = None |
|||
) |
Constructor.
runMode | [ enum | mProcess.dataLib.RunMode.kTerminal | in ] - Run mode from mProcess.dataLib.RunMode enum class. |
runLevel | [ enum | mProcess.dataLib.RunLevel.kAll | in ] - Run level from mProcess.dataLib.RunLevel enum class. |
processesToRun | [ list of str | [] | in ] - Processes to run. |
processesToIgnore | [ list of str | [] | in ] - Processes to ignore. |
ignoreFailedPreDependencies | [ bool | False | in ] - Whether to ignore failed pre dependencies. |
ignoreFailedPostDependencies | [ bool | False | in ] - Whether to ignore failed post dependencies. |
raiseExceptions | [ bool | False | in ] - Raise exceptions. |
displayMessages | [ enum | mProcess.dataLib.DisplayMessage.kAll | in ] - Display messages from mProcess.dataLib.DisplayMessage enum class. |
userDescription | [ str | None | in ] - User description. |
ignoreDescription | [ str | None | in ] - Ignore description. |
N/A |
def mProcess.dataLib.Data.__getitem__ | ( | self, | |
key | |||
) |
Get item from data member.
key | [ str | None | in ] - Key. |
N/A |
def mProcess.dataLib.Data.__setitem__ | ( | self, | |
key, | |||
value | |||
) |
Set item of data member.
key | [ str | None | in ] - Key. |
value | [ str | None | in ] - Value. |
N/A |
def mProcess.dataLib.Data.runMode | ( | self | ) |
def mProcess.dataLib.Data.runLevel | ( | self | ) |
def mProcess.dataLib.Data.processesToRun | ( | self | ) |
Processes to run.
N/A |
def mProcess.dataLib.Data.processesToIgnore | ( | self | ) |
Processes to ignore.
N/A |
def mProcess.dataLib.Data.ignoreFailedPreDependencies | ( | self | ) |
Whether to ignore failed pre dependencies.
N/A |
def mProcess.dataLib.Data.ignoreFailedPostDependencies | ( | self | ) |
Whether to ignore failed post dependencies.
N/A |
def mProcess.dataLib.Data.raiseExceptions | ( | self | ) |
Raise exceptions.
N/A |
def mProcess.dataLib.Data.displayMessages | ( | self | ) |
Display messages.
N/A |
def mProcess.dataLib.Data.userDescription | ( | self | ) |
User description.
N/A |
def mProcess.dataLib.Data.setUserDescription | ( | self, | |
userDescription | |||
) |
Set user description.
userDescription | [ str | None | in ] - User description. |
N/A |
def mProcess.dataLib.Data.ignoreDescription | ( | self | ) |
Ignore description.
N/A |
def mProcess.dataLib.Data.setIgnoreDescription | ( | self, | |
ignoreDescription | |||
) |
Set ignore description.
ignoreDescription | [ str | None | in ] - Ignore description. |
N/A |