ExecutionOutcome

constructor(resource: OutputResource?, directory: File?, context: Context)

Parameters

resource

the output resource produced by the pipeline, if any

directory

the directory, child of the configuration's output directory, where the output artifacts are saved. If null, no output directory was written. This can happen in case of errors or, more likely, when running in pipe mode (--pipe).

context

the context the pipeline ran on, exposing the document information, subdocuments and media it produced. It is closed, meaning no pipeline is attached to it anymore