public class ArtifactAndData extends AbstractDto
Artifact for details.| Constructor and Description |
|---|
ArtifactAndData() |
ArtifactAndData(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact,
byte[] data)
|
ArtifactAndData(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact,
java.io.InputStream data) |
ArtifactAndData(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact,
java.lang.String filename,
byte[] data)
|
ArtifactAndData(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact,
java.lang.String filename,
java.io.InputStream data) |
| Modifier and Type | Method and Description |
|---|---|
com.xebialabs.deployit.plugin.api.udm.artifact.Artifact |
getArtifact() |
byte[] |
getData()
Deprecated.
Use com.xebialabs.deployit.engine.api.dto.ArtifactAndData#getDataInputStream()
|
java.io.InputStream |
getDataInputStream() |
java.lang.String |
getFilename() |
void |
setArtifact(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact) |
void |
setData(byte[] data)
Deprecated.
Use com.xebialabs.deployit.engine.api.dto.ArtifactAndData#setDataInputStream(java.io.InputStream)
|
void |
setDataInputStream(java.io.InputStream data) |
void |
setFilename(java.lang.String filename) |
toStringpublic ArtifactAndData()
public ArtifactAndData(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact,
java.lang.String filename,
java.io.InputStream data)
artifact - The CI representing the artifact.filename - The file name of the uploaded artifact.data - The artifact itself as an input stream.@Deprecated
public ArtifactAndData(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact,
java.lang.String filename,
byte[] data)
ArtifactAndData(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact, java.lang.String, java.io.InputStream)artifact - The CI representing the artifact.filename - The file name of the uploaded artifact.data - The artifact itself as an array of bytes.public ArtifactAndData(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact,
java.io.InputStream data)
artifact - The CI representing the artifact.data - The artifact itself as an input stream.@Deprecated
public ArtifactAndData(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact,
byte[] data)
ArtifactAndData(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact, java.io.InputStream)artifact - The CI representing the artifact.data - The artifact itself as an array of bytes.public com.xebialabs.deployit.plugin.api.udm.artifact.Artifact getArtifact()
public void setArtifact(com.xebialabs.deployit.plugin.api.udm.artifact.Artifact artifact)
artifact - The CI representing the artifact.public java.io.InputStream getDataInputStream()
public void setDataInputStream(java.io.InputStream data)
data - The artifact data as an input stream.@Deprecated public byte[] getData()
@Deprecated public void setData(byte[] data)
data - The artifact data as an array of bytes.public java.lang.String getFilename()
public void setFilename(java.lang.String filename)
filename - The file name of the uploaded artifact.