|
| void | idChanged (const QString &id) |
| | Notifier signal for the id property. More...
|
| |
| void | timeoutChanged (int timeout) |
| | Notifier signal for the timeout property. More...
|
| |
| void | configurationChanged (Schauer::AbstractConfiguration *configuration) |
| | Notifier signal for the configuration property. More...
|
| |
| void | failed (int errorCode, const QString &errorString) |
| | Emitted when the API request has been failed. More...
|
| |
| void | succeeded (const QJsonDocument &json) |
| | Emitted when the API request ha been successfully finished. More...
|
| |
| void | description (Schauer::SJob *job, const QString &title, const QPair< QString, QString > &field1=QPair< QString, QString >(), const QPair< QString, QString > &field2=QPair< QString, QString >()) |
| | Emitted to display general description of this job. More...
|
| |
| void | finished (Schauer::SJob *job) |
| | Emitted when the job is finished, in any case. More...
|
| |
| void | infoMessage (Schauer::SJob *job, const QString &plain, const QString &rich=QString()) |
| | Emitted to display state information about this job. More...
|
| |
| void | percent (Schauer::SJob *job, unsigned long percent) |
| | Progress signal showing the overall progress of the job This is valid for any kind of job, and allows using a a progress bar very easily. More...
|
| |
| void | percentChanged (Schauer::SJob *job, unsigned long percent) |
| | Progress signal showing the overall progress of the job This is valid for any kind of job, and allows using a a progress bar very easily. More...
|
| |
| void | processedAmount (Schauer::SJob *job, SJob::Unit unit, qulonglong amount) |
| | Regularly emitted to show the progress of this job by giving the current amount. More...
|
| |
| void | processedAmountChanged (Schauer::SJob *job, SJob::Unit unit, qulonglong amount) |
| | Regularly emitted to show the progress of this job by giving the current amount. More...
|
| |
| void | processedSize (Schauer::SJob *job, qulonglong size) |
| | Regularly emitted to show the progress of this job (current data size in bytes for transfers, entries listed, etc.). More...
|
| |
| void | result (Schauer::SJob *job) |
| | Emitted when the job is finished (except when killed with SJob::Quietly). More...
|
| |
| void | resumed (Schauer::SJob *job) |
| | Emitted when the job is resumed. More...
|
| |
| void | speed (Schauer::SJob *job, unsigned long speed) |
| | Emitted to display information about the speed of this job. More...
|
| |
| void | suspended (Schauer::SJob *job) |
| | Emitted when the job is suspended. More...
|
| |
| void | totalAmount (Schauer::SJob *job, SJob::Unit unit, qulonglong amount) |
| | Emitted when we know the amount the job will have to process. More...
|
| |
| void | totalAmountChanged (Schauer::SJob *job, SJob::Unit unit, qulonglong amount) |
| | Emitted when we know the amount the job will have to process. More...
|
| |
| void | totalSize (Schauer::SJob *job, qulonglong size) |
| | Emitted when we know the size of this job (data size in bytes for transfers, number of entries for listings, etc). More...
|
| |
| void | warning (Schauer::SJob *job, const QString &plain, const QString &rich=QString()) |
| | Emitted to display a warning about this job. More...
|
| |
|
| enum | { NoError = 0,
KilledJobError = 1,
UserDefinedError = 100
} |
| | Error codes. More...
|
| |
| enum | Capability { NoCapabilities = 0x0000,
Killable = 0x0001,
Suspendable = 0x0002
} |
| | Job capabilities. More...
|
| |
| enum | Unit { Bytes = 0,
Files,
Directories,
Items
} |
| | Describes the unit used in the methods that handle reporting the job progress info. More...
|
| |
| bool | kill (Schauer::SJob::KillVerbosity verbosity=Quietly) |
| | Aborts this job. More...
|
| |
| bool | resume () |
| | Resumes this job. More...
|
| |
| bool | suspend () |
| | Suspends this job. More...
|
| |
| | Job (QObject *parent=nullptr) |
| | Constructs a new Job object with the given parent. More...
|
| |
| void | sendRequest () |
| | Performs basic checks, sets up and sends the request. More...
|
| |
| virtual bool | doKill () |
| | Aborts this job quietly. More...
|
| |
| virtual bool | doResume () |
| | Resumes this job. More...
|
| |
| virtual bool | doSuspend () |
| | Suspends this job. More...
|
| |
| void | emitPercent (qulonglong processedAmount, qulonglong totalAmount) |
| | Utility function for inherited jobs. More...
|
| |
| void | emitResult () |
| | Utility function to emit the result signal, and suicide this job. More...
|
| |
| void | emitSpeed (unsigned long speed) |
| | Utility function for inherited jobs. More...
|
| |
| bool | isFinished () const |
| | Returns true if the job has been finished and has emitted the finished() signal. More...
|
| |
| void | setCapabilities (Capabilities capabilities) |
| | Sets the capabilities for this job. More...
|
| |
| void | setError (int errorCode) |
| | Sets the error code. More...
|
| |
| void | setErrorText (const QString &errorText) |
| | Sets the error text. More...
|
| |
| void | setPercent (unsigned long percentage) |
| | Sets the overall progress of the job. More...
|
| |
| void | setProcessedAmount (Unit unit, qulonglong amount) |
| | Sets the processed size. More...
|
| |
| void | setProgressUnit (Unit unit) |
| | Sets the unit that will be used internally to calculate the progress percentage. More...
|
| |
| void | setTotalAmount (Unit unit, qulonglong amount) |
| | Sets the total size. More...
|
| |
Stops a Docker container.
Use this class to stop a previously started Docker container identified by its id.
- API route
- /containers/{id}/stop
- API method
- POST
- Docker API Documentation
- ContainerCreate
- See also
- CreateContainerJob, RemoveContainerJob, StartContainerJob