Class ArtifactContent
java.lang.Object
se.bjurr.violations.lib.model.generated.sarif.ArtifactContent
Represents the contents of an artifact.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanMIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.Key/value pairs that provide additional information about the object.A message string or message format string rendered in multiple formats.getText()UTF-8-encoded content from a text artifact.inthashCode()voidMIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.voidsetProperties(PropertyBag properties) Key/value pairs that provide additional information about the object.voidsetRendered(MultiformatMessageString rendered) A message string or message format string rendered in multiple formats.voidUTF-8-encoded content from a text artifact.toString()withBinary(String binary) withProperties(PropertyBag properties) withRendered(MultiformatMessageString rendered)
-
Constructor Details
-
ArtifactContent
public ArtifactContent()
-
-
Method Details
-
getText
UTF-8-encoded content from a text artifact. -
setText
UTF-8-encoded content from a text artifact. -
withText
-
getBinary
MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding. -
setBinary
MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding. -
withBinary
-
getRendered
A message string or message format string rendered in multiple formats. -
setRendered
A message string or message format string rendered in multiple formats. -
withRendered
-
getProperties
Key/value pairs that provide additional information about the object. -
setProperties
Key/value pairs that provide additional information about the object. -
withProperties
-
toString
-
hashCode
public int hashCode() -
equals
-