MECO™ API Reference
|
[ ABSTRACT CLASS ] - Abstract dependency class. More...
Public Member Functions | |
def | __init__ (self, parent=None, data=None, **kwargs) |
Constructor. More... | |
def | shouldInitialize (self) |
Whether this process should be initialized. More... | |
def | run (self) |
Run the process. More... | |
def | runPreDependencies (self) |
Run pre dependencies. More... | |
def | runPostDependencies (self) |
Run post dependencies. More... | |
PROPERTIES | |
def | data (self) |
Data. More... | |
def | kwargs (self) |
Keyword arguments. More... | |
def | preDependencyList (self) |
Pre dependencies. More... | |
def | postDependencyList (self) |
Post dependencies. More... | |
def | name (self) |
Name of the process. More... | |
def | description (self) |
Description about the process. More... | |
def | icon (self) |
Icon. More... | |
def | dependencyListModule (self) |
Dependency list module. More... | |
def | isActive (self) |
Whether this process is active. More... | |
def | isIgnorable (self) |
Whether this process is ignorable. More... | |
def | isIgnored (self) |
Whether this process is ignored. More... | |
def | setIgnored (self, state) |
Set the process ignored. More... | |
def | requiresDescriptionWhenIgnored (self) |
Whether this process requires description when ignored. More... | |
def | isCollapsed (self) |
Whether the process is collapsed on the GUI. More... | |
def | areDependenciesCollapsed (self) |
Whether dependencies are collapsed on the GUI. 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. | |
signalStepOccurred = QtCore.Signal() | |
[ Signal ] - Signal emitted when step occurs (for progress bar). | |
[ ABSTRACT CLASS ] - Abstract dependency class.
def mProcess.processAbs.Process.__init__ | ( | self, | |
parent = None , |
|||
data = None , |
|||
** | kwargs | ||
) |
Constructor.
parent | [ QObject | None | in ] - Parent. |
data | [ mProcess.dataLib.Data | None | in ] - Data. |
kwargs | [ dict | None | in ] - Keyword arguments. |
N/A |
Reimplemented in mMecoRelease.processes.releasePro.PackageRelease.
def mProcess.processAbs.Process.data | ( | self | ) |
def mProcess.processAbs.Process.kwargs | ( | self | ) |
Keyword arguments.
N/A |
def mProcess.processAbs.Process.preDependencyList | ( | self | ) |
Pre dependencies.
N/A |
def mProcess.processAbs.Process.postDependencyList | ( | self | ) |
Post dependencies.
N/A |
def mProcess.processAbs.Process.name | ( | self | ) |
Name of the process.
N/A |
def mProcess.processAbs.Process.description | ( | self | ) |
Description about the process.
N/A |
def mProcess.processAbs.Process.icon | ( | self | ) |
Icon.
N/A |
def mProcess.processAbs.Process.dependencyListModule | ( | self | ) |
Dependency list module.
N/A |
def mProcess.processAbs.Process.isActive | ( | self | ) |
Whether this process is active.
N/A |
def mProcess.processAbs.Process.isIgnorable | ( | self | ) |
Whether this process is ignorable.
N/A |
def mProcess.processAbs.Process.isIgnored | ( | self | ) |
Whether this process is ignored.
N/A |
def mProcess.processAbs.Process.setIgnored | ( | self, | |
state | |||
) |
Set the process ignored.
state | [ bool | None | in ] - Value to be set. |
N/A |
def mProcess.processAbs.Process.requiresDescriptionWhenIgnored | ( | self | ) |
Whether this process requires description when ignored.
N/A |
def mProcess.processAbs.Process.isCollapsed | ( | self | ) |
Whether the process is collapsed on the GUI.
N/A |
def mProcess.processAbs.Process.areDependenciesCollapsed | ( | self | ) |
Whether dependencies are collapsed on the GUI.
N/A |
def mProcess.processAbs.Process.shouldInitialize | ( | self | ) |
Whether this process should be initialized.
Implement this method to prevent child class instance from being initialized by raising mProcess.exceptionLib.ProcessError exception. Method must return True explicitly otherwise.
N/A |
def mProcess.processAbs.Process.run | ( | self | ) |
Run the process.
mProcess.exceptionLib.ProcessError | - No run method is available for this run mode. |
def mProcess.processAbs.Process.runPreDependencies | ( | self | ) |
Run pre dependencies.
N/A |
def mProcess.processAbs.Process.runPostDependencies | ( | self | ) |
Run post dependencies.
N/A |