BinaryOutputArtifact

class BinaryOutputArtifact(val name: String, val content: ByteArray, val type: ArtifactType) : OutputArtifact<ByteArray>

Represents an OutputResource that contains binary data.

Parameters

name

name of the resource (without file extensions)

content

binary content of the resource

type

type of content the resource contains

Constructors

Link copied to clipboard
constructor(name: String, content: ByteArray, type: ArtifactType)

Properties

Link copied to clipboard
open override val content: ByteArray
Link copied to clipboard
open override val name: String
Link copied to clipboard
open override val type: ArtifactType

Functions

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

Accepts a visitor to perform operations on the resource.