4 SPDX-FileCopyrightText: 2004-2013 Mirko Boehm <[email protected]>
29 * Be aware of circular dependencies. All dependencies on a Job will be removed if the Job object is destructed.
36 ~DependencyPolicy() override;
47 * The dependency of jobA on jobB is removed. If no dependencies are left for jobA, canRun will return true.
57 * This method is called after the Job has been finished, or when it is deleted without being executed (performed by the
60 void resolveDependencies(JobPointer);
66 static DependencyPolicy &instance();
68 bool canRun(JobPointer) override;
70 void free(JobPointer) override;
82 bool hasUnresolvedDependencies(JobPointer) const;
virtual void release(quint64 objid)
DependencyPolicy implements execution-time dependencies dependencies between Jobs.
QueuePolicy is an interface for customizations of the queueing behaviour of jobs.