public class ArtifactContent extends Object
| Constructor and Description |
|---|
ArtifactContent() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object other) |
String |
getBinary()
MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.
|
PropertyBag |
getProperties()
Key/value pairs that provide additional information about the object.
|
MultiformatMessageString |
getRendered()
A message string or message format string rendered in multiple formats.
|
String |
getText()
UTF-8-encoded content from a text artifact.
|
int |
hashCode() |
void |
setBinary(String binary)
MIME Base64-encoded content from a binary artifact, or from a text artifact in its original encoding.
|
void |
setProperties(PropertyBag properties)
Key/value pairs that provide additional information about the object.
|
void |
setRendered(MultiformatMessageString rendered)
A message string or message format string rendered in multiple formats.
|
void |
setText(String text)
UTF-8-encoded content from a text artifact.
|
String |
toString() |
ArtifactContent |
withBinary(String binary) |
ArtifactContent |
withProperties(PropertyBag properties) |
ArtifactContent |
withRendered(MultiformatMessageString rendered) |
ArtifactContent |
withText(String text) |
public String getText()
public void setText(String text)
public ArtifactContent withText(String text)
public String getBinary()
public void setBinary(String binary)
public ArtifactContent withBinary(String binary)
public MultiformatMessageString getRendered()
public void setRendered(MultiformatMessageString rendered)
public ArtifactContent withRendered(MultiformatMessageString rendered)
public PropertyBag getProperties()
public void setProperties(PropertyBag properties)
public ArtifactContent withProperties(PropertyBag properties)
Copyright © 2020 Contrast Security. All rights reserved.