LazyOutputArtifact
data class LazyOutputArtifact(val name: String, val content: () -> List<Byte>, val type: ArtifactType) : OutputArtifact<() -> List<Byte>>
Represents a BinaryOutputArtifact whose content is lazily loaded on demand (via accept).
Parameters
name
name of the resource (without file extensions)
content
supplier of the content of the resource, retrieved upon visit
type
type of content the resource contains
Properties
Link copied to clipboard
File extension relative to the ArtifactType of this resource.
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
Full name of the file, including the extension relative to the ArtifactType of this resource.
Link copied to clipboard