Class: QgsProcessingAlgRunnerTask¶
-
class
qgis.core.
QgsProcessingAlgRunnerTask
(algorithm: QgsProcessingAlgorithm, parameters: Dict[str, Any], context: QgsProcessingContext, feedback: QgsProcessingFeedback = None)¶ Bases:
QgsTask
Constructor for
QgsProcessingAlgRunnerTask
. Takes analgorithm
, algorithmparameters
and processingcontext
.QgsTask
task which runs aQgsProcessingAlgorithm
in a background task.New in version 3.0.
- Parameters
algorithm (QgsProcessingAlgorithm) –
parameters (Dict[str) –
context (QgsProcessingContext) –
feedback –
-
cancel
(self)¶
-
childEvent
()¶
-
connectNotify
()¶
-
customEvent
()¶
-
disconnectNotify
()¶
-
executed
¶ Emitted when the algorithm has finished execution. If the algorithm completed execution without errors then
successful
will be true. Theresults
argument contains the results reported by the algorithm. [signal]
-
finished
(self, result: bool)¶ - Parameters
result (bool) –
-
isCanceled
()¶
-
isSignalConnected
()¶
-
receivers
()¶
-
run
(self) → bool¶ - Return type
bool
-
sender
()¶
-
senderSignalIndex
()¶
-
setProgress
()¶
-
timerEvent
()¶