public class Artifact extends Object
An Artifact instance is uniquely identified by its type, name, and version.
Modifier and Type | Method and Description |
---|---|
String |
getData()
Deprecated.
Use
Artifact.getInputStream() instead. |
String |
getEncoding() |
InputStream |
getInputStream() |
boolean |
getLatest() |
String |
getMetadata() |
String |
getName() |
String |
getType() |
String |
getVersion() |
public String getType()
public String getName()
public String getVersion()
public boolean getLatest()
public String getData()
Artifact.getInputStream()
instead.This operation may read the artifact's data from a file. If an I/O error occurs a StreamBaseRuntimeException is thrown.
StreamBaseRuntimeException
- if a file I/O error occurspublic String getMetadata()
public String getEncoding()
public InputStream getInputStream()
Copyright © 2015–2019 Cloud Software Group, Inc.. All rights reserved.