OutputResource

interface OutputResource

Abstraction of an output entity produced by the pipeline. A resource is saved to file via a FileResourceExporter.

Inheritors

Properties

Link copied to clipboard

Name of the corresponding file of this resource, without the extension, with symbols removed and spaces replaced with dashes.

Link copied to clipboard
abstract val name: String

Name of the resource (without file extensions).

Functions

Link copied to clipboard
abstract fun <T> accept(visitor: OutputResourceVisitor<T>): T

Accepts a visitor to perform operations on the resource.

Link copied to clipboard
fun OutputResource.saveTo(directory: File): File

Saves this resource to file in a directory.