LazyOutputArtifact
data class LazyOutputArtifact(val name: String, val content: () -> ByteArray, val type: ArtifactType) : OutputArtifact<() -> ByteArray>
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