GroupPostProcessingOperation
class GroupPostProcessingOperation : DefaultOperation
Group of post-process operations.
Runs several post-processings on one file in its queue (not in parallel).
-
Undocumented
Declaration
Swift
public var onComplete: ((_ processesNotCompleted: [(name: String, error: Error?)]) -> Void)?
-
Initiates with required parameters.
Declaration
Swift
init(fileStorage: FileStorage?, postProcessings: [PostProcessing])
Parameters
fileStorage
The file storage manager that used to pass to a
PostProcessing
object.postProcessings
Available post-processes.
-
Undocumented
Declaration
Swift
override func start()
-
Undocumented
Declaration
Swift
override func cancel()
-
Prepare to start post-processing operations over a given source file.
Declaration
Swift
func prepareToStart(withSourceLocation sourceLocation: URL, filename: String, fileExtension: String)
Parameters
sourceLocation
The reference to the source file on which post-processing should be performed.
filename
Local filename.
fileExtension
File extention.