|
MECO™ API Reference
|
[ ABSTRACT CLASS ] - Abstract container class. More...
Public Member Functions | |
| def | __init__ (self, parent=None, data=None, dataFile=None, **kwargs) |
| Constructor. More... | |
| def | __str__ (self) |
| String representation. More... | |
| def | asStr (self) |
| String representation. More... | |
| def | shouldInitialize (self) |
| Whether this container should be initialized. More... | |
| def | run (self) |
| Run the container meaning running all processes and their dependencies. More... | |
| def | runInCommandLine (cls) |
| Class method which can be used to run child classes of this class in command line. More... | |
PROPERTIES | |
| def | data (self) |
| Data. More... | |
| def | dataFile (self) |
| Class instance that operates on data file. More... | |
| def | setDataFile (self, dataFile) |
| Set data file. More... | |
| def | kwargs (self) |
| Keyword arguments. More... | |
| def | processList (self) |
| Process list. More... | |
| def | hasInitialized (self) |
| Whether this class has been initialized. More... | |
| def | setInitialized (self) |
| Set this class initialized. More... | |
| def | haveProcessesInitialized (self) |
| Whether process classes have been initialized. More... | |
| def | setProcessesInitialized (self) |
| Set process classes initialized. 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 | name (self) |
| Name of the container. More... | |
| def | description (self) |
| Description about the container. More... | |
| def | processListModule (self) |
| Process list module. More... | |
| def | requiresUserDescription (self) |
| Whether this container requires user description to run. More... | |
Static Public Attributes | |
| signalInfoOccurred = QtCore.Signal(str) | |
| [ Signal ] - Signal emitted by _setInfo method. | |
| signalSuccessOccurred = QtCore.Signal(str) | |
| [ Signal ] - Signal emitted by _setSuccess method. | |
| signalWarningOccurred = QtCore.Signal(str) | |
| [ Signal ] - Signal emitted by _setWarning method. | |
| signalFailureOccurred = QtCore.Signal(str) | |
| [ Signal ] - Signal emitted by _setFailure method. | |
| signalDisplayHeader = QtCore.Signal(str) | |
| [ Signal ] - Signal should be used when a header needs to be displayed. | |
[ ABSTRACT CLASS ] - Abstract container class.
| def mProcess.containerAbs.Container.__init__ | ( | self, | |
parent = None, |
|||
data = None, |
|||
dataFile = None, |
|||
| ** | kwargs | ||
| ) |
Constructor.
| parent | [ QObject | None | in ] - Parent. |
| data | [ mProcess.dataLib.Data | None | in ] - Data. |
| dataFile | [ str | None | in ] - Absolute path of data file (JSON). |
| kwargs | [ dict | None | in ] - Keyword arguments. |
| N/A |
Reimplemented in mMecoRelease.releaseCnt.Release.
| def mProcess.containerAbs.Container.__str__ | ( | self | ) |
String representation.
| N/A |
| def mProcess.containerAbs.Container.data | ( | self | ) |
| def mProcess.containerAbs.Container.dataFile | ( | self | ) |
Class instance that operates on data file.
| N/A |
| def mProcess.containerAbs.Container.setDataFile | ( | self, | |
| dataFile | |||
| ) |
Set data file.
| dataFile | [ str | None | in ] - Absolute path of data file (JSON). |
| mProcess.exceptionLib.DataFileDoesNotExist | - If given dataFile does not exist. |
| def mProcess.containerAbs.Container.kwargs | ( | self | ) |
Keyword arguments.
| N/A |
| def mProcess.containerAbs.Container.processList | ( | self | ) |
| def mProcess.containerAbs.Container.hasInitialized | ( | self | ) |
Whether this class has been initialized.
| N/A |
| def mProcess.containerAbs.Container.setInitialized | ( | self | ) |
Set this class initialized.
| N/A |
| def mProcess.containerAbs.Container.haveProcessesInitialized | ( | self | ) |
Whether process classes have been initialized.
| N/A |
| def mProcess.containerAbs.Container.setProcessesInitialized | ( | self | ) |
Set process classes initialized.
| N/A |
| def mProcess.containerAbs.Container.userDescription | ( | self | ) |
User description.
| N/A |
| def mProcess.containerAbs.Container.setUserDescription | ( | self, | |
| userDescription | |||
| ) |
Set user description.
| userDescription | [ str | None | in ] - User description. |
| N/A |
| def mProcess.containerAbs.Container.ignoreDescription | ( | self | ) |
Ignore description.
| N/A |
| def mProcess.containerAbs.Container.setIgnoreDescription | ( | self, | |
| ignoreDescription | |||
| ) |
Set ignore description.
| ignoreDescription | [ str | None | in ] - Ignore description. |
| N/A |
| def mProcess.containerAbs.Container.name | ( | self | ) |
Name of the container.
| N/A |
| def mProcess.containerAbs.Container.description | ( | self | ) |
Description about the container.
| N/A |
| def mProcess.containerAbs.Container.processListModule | ( | self | ) |
Process list module.
| N/A |
| def mProcess.containerAbs.Container.requiresUserDescription | ( | self | ) |
Whether this container requires user description to run.
| N/A |
| def mProcess.containerAbs.Container.asStr | ( | self | ) |
String representation.
| N/A |
| def mProcess.containerAbs.Container.shouldInitialize | ( | self | ) |
Whether this container should be initialized.
Implement this method to prevent child class instance from being initialized by raising mProcess.exceptionLib.ContainerError exception. Method must return True explicitly otherwise.
| N/A |
Reimplemented in mMecoRelease.releaseCnt.Release.
| def mProcess.containerAbs.Container.run | ( | self | ) |
Run the container meaning running all processes and their dependencies.
| N/A |
| def mProcess.containerAbs.Container.runInCommandLine | ( | cls | ) |
Class method which can be used to run child classes of this class in command line.
| cls | [ object | None | in ] - Class object. |
| N/A |
1.8.18